{"name":"null-check","version":"2.0.0","description":"Ensure a path doesn't contain null bytes","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/null-check"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["built-in","core","ponyfill","polyfill","shim","fs","path","null","bytes","check"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"e0406aab618077eaaaef25a5b786641161aed88a","bugs":{"url":"https://github.com/sindresorhus/null-check/issues"},"homepage":"https://github.com/sindresorhus/null-check","_id":"null-check@2.0.0","_shasum":"a9751ad8d203efa69d3a8e2246598051da6e1057","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"a9751ad8d203efa69d3a8e2246598051da6e1057","tarball":"http://registry-npm.ywwl.com/null-check/download/null-check-2.0.0.tgz","integrity":"sha512-Uts4lIThOpodaxahc+gir6/E8Z22KKh66SIaGAFM5ncqyqhrm2i4MmrpiIDyddEhGC62CjX1FKY8UkZqtt82sQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfqGwuVZLGLymVBkAQMRZkqa1Q/TkoL0AIQcABeaz+iQIgKpHmLwdjA9C4k3cCBQRXkwx2pD97V1iXaYSr8+qeDwM="}],"size":1517,"noattachment":false,"key":"/null-check/-/null-check-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"readme":"# null-check\n\n> Ensure a path doesn't contain [null bytes](https://en.wikipedia.org/wiki/Null_character)\n\n## Install\n\n```\n$ npm install null-check\n```\n\n## Usage\n\n```js\nimport nullCheck from 'null-check';\n\ntry {\n\tnullCheck('unicorn.png\\u0000');\n} catch (error) {\n\tconsole.log(error);\n\t//=> 'Path must be a string without null bytes.'\n}\n```\n","publish_time":1445119001268,"_cnpm_publish_time":1445119001268,"dist-tags":{"latest":"3.0.0"}}