{"_id":"module-not-found-error","_rev":"299523","name":"module-not-found-error","description":"Create a module not found error","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"}],"time":{"modified":"2021-06-03T19:03:08.000Z","created":"2015-05-23T19:54:15.475Z","1.0.1":"2015-07-03T12:40:42.879Z","1.0.0":"2015-05-23T19:54:15.475Z"},"users":{"anchnk":true},"author":{"name":"Ben Drucker","email":"bvdrucker@gmail.com","url":"bendrucker.me"},"repository":{"type":"git","url":"https://github.com/bendrucker/module-not-found-error"},"versions":{"1.0.1":{"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","size":1518,"noattachment":false,"key":"/module-not-found-error/-/module-not-found-error-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-not-found-error/download/module-not-found-error-1.0.1.tgz"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"}],"directories":{},"publish_time":1435927242879,"_cnpm_publish_time":1435927242879,"_hasShrinkwrap":false},"1.0.0":{"name":"module-not-found-error","main":"./release","version":"1.0.0","description":"Create a module not found error","license":"MIT","repository":{"type":"git","url":"git+https://github.com/bendrucker/module-not-found-error.git"},"author":{"name":"Ben Drucker","email":"bvdrucker@gmail.com","url":"bendrucker.me"},"engines":{"node":">=0.10.0"},"scripts":{"test":"standard && babel-tape-runner test/*.js"},"keywords":["module","not found","error"],"dependencies":{"xtend":"~4.0.0"},"devDependencies":{"babel":"^5.0.0","babel-tape-runner":"*","tape":"^4.0.0","standard":"github:bendrucker/standard#babel","publicist":"~4.0.0","publicist-es5":"~1.0.0"},"publicist":{"builds":{"es5":{"dest":"./release"}}},"standard":{"ignore":["release/","lib/"]},"gitHead":"85fe825598acdff4fb2d3bff7aae2a696b4a0d52","bugs":{"url":"https://github.com/bendrucker/module-not-found-error/issues"},"homepage":"https://github.com/bendrucker/module-not-found-error#readme","_id":"module-not-found-error@1.0.0","_shasum":"1a736e0f5bceb0698f049132e41f42039aac1e24","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.7.1","_npmUser":{"name":"bendrucker","email":"bvdrucker@gmail.com"},"maintainers":[{"name":"bendrucker","email":"bvdrucker@gmail.com"}],"dist":{"shasum":"1a736e0f5bceb0698f049132e41f42039aac1e24","size":2250,"noattachment":false,"key":"/module-not-found-error/-/module-not-found-error-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/module-not-found-error/download/module-not-found-error-1.0.0.tgz"},"directories":{},"publish_time":1432410855475,"_cnpm_publish_time":1432410855475,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/bendrucker/module-not-found-error","bugs":{"url":"https://github.com/bendrucker/module-not-found-error/issues"},"license":"MIT"}