{"_id":"safe-resolve","_rev":"397958","name":"safe-resolve","description":"require.resolve without throwing","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"eh","email":"evanlucas@me.com"},{"name":"evanlucas","email":"evanlucas@me.com"}],"time":{"modified":"2021-08-04T04:20:45.000Z","created":"2015-11-20T14:27:18.793Z","1.0.0":"2015-11-20T14:27:18.793Z"},"users":{},"author":{"name":"Evan Lucas","email":"evanlucas@me.com"},"repository":{"type":"git","url":"https://github.com/evanlucas/safe-resolve"},"versions":{"1.0.0":{"name":"safe-resolve","version":"1.0.0","description":"require.resolve without throwing","main":"index.js","scripts":{"test":"tap test.js --cov"},"dependencies":{},"devDependencies":{"tap":"~2.3.0"},"license":"MIT","author":{"name":"Evan Lucas","email":"evanlucas@me.com"},"repository":{"type":"git","url":"https://github.com/evanlucas/safe-resolve"},"homepage":"https://github.com/evanlucas/safe-resolve","bugs":{"url":"https://github.com/evanlucas/safe-resolve/issues"},"gitHead":"84891a397f0703c5234589461adcbb0357a95207","_id":"safe-resolve@1.0.0","_shasum":"fe34f8d29d7a3becfd249d0aa8a799b5c3cf6559","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"evanlucas","email":"evanlucas@me.com"},"dist":{"shasum":"fe34f8d29d7a3becfd249d0aa8a799b5c3cf6559","size":1746,"noattachment":false,"key":"/safe-resolve/-/safe-resolve-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/safe-resolve/download/safe-resolve-1.0.0.tgz"},"maintainers":[{"name":"eh","email":"evanlucas@me.com"},{"name":"evanlucas","email":"evanlucas@me.com"}],"directories":{},"publish_time":1448029638793,"_cnpm_publish_time":1448029638793,"_hasShrinkwrap":false}},"readme":"# safe-resolve\n\n[![Build Status](https://travis-ci.org/evanlucas/safe-resolve.svg)](https://travis-ci.org/evanlucas/safe-resolve)\n[![Coverage Status](https://coveralls.io/repos/evanlucas/safe-resolve/badge.svg?branch=master&service=github)](https://coveralls.io/github/evanlucas/safe-resolve?branch=master)\n\n`require.resolve` without throwing\n\n## Install\n\n```bash\n$ npm install --save safe-resolve\n```\n\n## Test\n\n```bash\n$ npm test\n```\n\n## Usage\n\n```js\nconst safe = require('safe-resolve')\n\n// index.js exists\nsafe('./index.js')\n// returns the resolved filepath\n\n// biscuits.js does not exist\nsafe('./biscuits.js')\n// => null\n```\n\n## Author\n\nEvan Lucas\n\n## License\n\nMIT (See `LICENSE` for more info)\n","_attachments":{},"homepage":"https://github.com/evanlucas/safe-resolve","bugs":{"url":"https://github.com/evanlucas/safe-resolve/issues"},"license":"MIT"}