1 # p-try [![Build Status](https://travis-ci.org/sindresorhus/p-try.svg?branch=master)](https://travis-ci.org/sindresorhus/p-try)
3 > [`Promise#try()`](https://github.com/ljharb/proposal-promise-try) [ponyfill](https://ponyfill.com) - Starts a promise chain
5 [How is it useful?](http://cryto.net/~joepie91/blog/2016/05/11/what-is-promise-try-and-why-does-it-matter/)
11 $ npm install --save p-try
18 const pTry = require('p-try');
21 return synchronousFunctionThatMightThrow();
32 - [p-finally](https://github.com/sindresorhus/p-finally) - `Promise#finally()` ponyfill - Invoked when the promise is settled regardless of outcome
33 - [More…](https://github.com/sindresorhus/promise-fun)
38 MIT © [Sindre Sorhus](https://sindresorhus.com)