{"name":"module-not-found-error","main":"index.js","version":"1.0.1","description":"Create a module not found error","license":"MIT","repository":{"type":"git","url":"https://github.com/bendrucker/module-not-found-error"},"author":{"name":"Ben Drucker","email":"bvdrucker@gmail.com","url":"bendrucker.me"},"scripts":{"test":"standard && tape test.js"},"keywords":["module","not found","error"],"devDependencies":{"standard":"^4.5.2","tape":"^4.0.0"},"files":["index.js"],"gitHead":"a7a934aa1543f23c23be32c6c1b544573583bf5a","bugs":{"url":"https://github.com/bendrucker/module-not-found-error/issues"},"homepage":"https://github.com/bendrucker/module-not-found-error","_id":"module-not-found-error@1.0.1","_shasum":"cf8b4ff4f29640674d6cdd02b0e3bc523c2bbdc0","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"bendrucker","email":"bvdrucker@gmail.com"},"dist":{"shasum":"cf8b4ff4f29640674d6cdd02b0e3bc523c2bbdc0","tarball":"http://registry-npm.ywwl.com/module-not-found-error/download/module-not-found-error-1.0.1.tgz","integrity":"sha512-pEk4ECWQXV6z2zjhRZUongnLJNUeGQJ3w6OQ5ctGwD+i5o93qjRQUk2Rt6VdNeu3sEP0AB4LcfvdebpxBRVr4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIALOP2IUW9++fxyBPs6nVaZjm1XJWBRHwMnDAFiFZM01AiEAiIkUXiOnzUOHIAkHluHF8eMs3ZnwYeJHtmWlwYHYtiE="}],"size":1518,"noattachment":false,"key":"/module-not-found-error/-/module-not-found-error-1.0.1.tgz"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"}],"readme":"# module-not-found-error [![Build Status](https://travis-ci.org/bendrucker/module-not-found-error.svg?branch=master)](https://travis-ci.org/bendrucker/module-not-found-error)\n\n> Create a module not found error\n\n## Install\n\n```\n$ npm install --save module-not-found-error\n```\n\n## Usage\n\n```js\nvar moduleNotFoundError = require('module-not-found-error')\n\nvar err = moduleNotFoundError('foo')\n//=> err.message: Cannot find module 'foo'\n//=> err.code: 'MODULE_NOT_FOUND'\n```\n\n## API\n\n#### `moduleNotFoundError(id)` -> `err`\n\nReturns an error with the appropriate message and code.\n\n#### `id`\n\n*Required*  \nType: `string`\n\nA module name or path passed to `require`.\n\n## License\n\nMIT © [Ben Drucker](http://bendrucker.me)\n","publish_time":1435927242879,"_cnpm_publish_time":1435927242879,"dist-tags":{"latest":"1.0.1"}}