{"_id":"nlcst-is-literal","_rev":"663337","name":"nlcst-is-literal","description":"nlcst utility to check whether a node is meant literally","dist-tags":{"latest":"2.1.0"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2021-08-27T08:51:02.000Z","created":"2015-08-24T13:42:58.133Z","2.1.0":"2021-08-27T08:49:26.066Z","2.0.0":"2021-04-20T18:13:40.144Z","1.2.2":"2020-11-01T15:28:19.673Z","1.2.1":"2020-02-18T09:42:40.479Z","1.2.0":"2019-05-23T10:14:32.588Z","1.1.2":"2018-05-02T11:49:46.515Z","1.1.1":"2017-06-13T15:10:35.864Z","1.1.0":"2016-11-15T20:56:36.678Z","1.0.0":"2015-08-24T13:42:58.133Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/syntax-tree/nlcst-is-literal.git"},"versions":{"2.1.0":{"name":"nlcst-is-literal","version":"2.1.0","description":"nlcst utility to check whether a node is meant literally","license":"MIT","keywords":["unist","nlcst","nlcst-util","util","utility","literal","word"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/nlcst-is-literal.git"},"bugs":{"url":"https://github.com/syntax-tree/nlcst-is-literal/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/nlcst":"^1.0.0","@types/unist":"^2.0.0","nlcst-to-string":"^3.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","retext":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-util-visit":"^4.0.0","xo":"^0.44.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"8cbb88cbf03e6d22135706dc6c5f765b5abe7964","homepage":"https://github.com/syntax-tree/nlcst-is-literal#readme","_id":"nlcst-is-literal@2.1.0","_nodeVersion":"16.6.1","_npmVersion":"7.20.6","dist":{"shasum":"bb149ffa40a31c0014eeea2da605381ef40f049f","size":4294,"noattachment":false,"key":"/nlcst-is-literal/-/nlcst-is-literal-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nlcst-is-literal/download/nlcst-is-literal-2.1.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nlcst-is-literal_2.1.0_1630054165834_0.9734191992589507"},"_hasShrinkwrap":false,"publish_time":1630054166066,"_cnpm_publish_time":1630054166066},"2.0.0":{"name":"nlcst-is-literal","version":"2.0.0","description":"nlcst utility to check whether a node is meant literally","license":"MIT","keywords":["unist","nlcst","nlcst-util","util","utility","literal","word"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/nlcst-is-literal.git"},"bugs":{"url":"https://github.com/syntax-tree/nlcst-is-literal/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/unist":"^2.0.0","nlcst-to-string":"^3.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","retext":"^7.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-util-visit":"^3.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"9f609f68a7112664a76f8fc62be8bd7ef6ba7011","homepage":"https://github.com/syntax-tree/nlcst-is-literal#readme","_id":"nlcst-is-literal@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.9.0","dist":{"shasum":"8d8c905f7bd34b887fabd1b8575e7c78d613e362","size":4234,"noattachment":false,"key":"/nlcst-is-literal/-/nlcst-is-literal-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nlcst-is-literal/download/nlcst-is-literal-2.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nlcst-is-literal_2.0.0_1618942419989_0.6088944350733028"},"_hasShrinkwrap":false,"publish_time":1618942420144,"_cnpm_publish_time":1618942420144},"1.2.2":{"name":"nlcst-is-literal","version":"1.2.2","description":"nlcst utility to check whether a node is meant literally","license":"MIT","keywords":["unist","nlcst","nlcst-util","util","utility","literal","word"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/nlcst-is-literal.git"},"bugs":{"url":"https://github.com/syntax-tree/nlcst-is-literal/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"nlcst-to-string":"^2.0.0"},"devDependencies":{"browserify":"^17.0.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","retext":"^7.0.0","tape":"^5.0.0","tinyify":"^3.0.0","unist-util-visit":"^2.0.0","xo":"^0.34.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","build-bundle":"browserify . -s nlcstIsLiteral -o nlcst-is-literal.js","build-mangle":"browserify . -s nlcstIsLiteral -p tinyify -o nlcst-is-literal.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"guard-for-in":"off","unicorn/prefer-includes":"off","unicorn/prefer-number-properties":"off","unicorn/prefer-type-error":"off"},"ignore":["nlcst-is-literal.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"b23dde27eaae755fa72e3458ccd603b52385ae3e","homepage":"https://github.com/syntax-tree/nlcst-is-literal#readme","_id":"nlcst-is-literal@1.2.2","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"shasum":"e64595ced168ae586ae905a2fe6825f39ccf1a7b","size":3888,"noattachment":false,"key":"/nlcst-is-literal/-/nlcst-is-literal-1.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/nlcst-is-literal/download/nlcst-is-literal-1.2.2.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nlcst-is-literal_1.2.2_1604244499550_0.7358878706617549"},"_hasShrinkwrap":false,"publish_time":1604244499673,"_cnpm_publish_time":1604244499673},"1.2.1":{"name":"nlcst-is-literal","version":"1.2.1","description":"nlcst utility to check whether a node is meant literally","license":"MIT","keywords":["unist","nlcst","nlcst-util","util","utility","literal","word"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/nlcst-is-literal.git"},"bugs":{"url":"https://github.com/syntax-tree/nlcst-is-literal/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"nlcst-to-string":"^2.0.0"},"devDependencies":{"browserify":"^16.0.0","nyc":"^15.0.0","prettier":"^1.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","retext":"^7.0.0","tape":"^4.0.0","tinyify":"^2.0.0","unist-util-visit":"^2.0.0","xo":"^0.26.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s nlcstIsLiteral -o nlcst-is-literal.js","build-mangle":"browserify . -s nlcstIsLiteral -p tinyify -o nlcst-is-literal.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignore":["nlcst-is-literal.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"45a06c6d412f03e9de788274849206bc9d4c7cee","homepage":"https://github.com/syntax-tree/nlcst-is-literal#readme","_id":"nlcst-is-literal@1.2.1","_nodeVersion":"13.0.1","_npmVersion":"6.13.7","dist":{"shasum":"878b68a43b5fd77b85e45b1b1737ae11a25f1be3","size":3901,"noattachment":false,"key":"/nlcst-is-literal/-/nlcst-is-literal-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/nlcst-is-literal/download/nlcst-is-literal-1.2.1.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nlcst-is-literal_1.2.1_1582018960353_0.2907330166108648"},"_hasShrinkwrap":false,"publish_time":1582018960479,"_cnpm_publish_time":1582018960479},"1.2.0":{"name":"nlcst-is-literal","version":"1.2.0","description":"Check whether an NLCST node is meant literally","license":"MIT","keywords":["nlcst","retext","util","utility","literal","word"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/nlcst-is-literal.git"},"bugs":{"url":"https://github.com/syntax-tree/nlcst-is-literal/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"nlcst-to-string":"^2.0.0"},"devDependencies":{"browserify":"^16.0.0","nyc":"^14.0.0","prettier":"^1.0.0","remark-cli":"^6.0.0","remark-preset-wooorm":"^5.0.0","retext":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","unist-util-visit":"^1.0.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s nlcstIsLiteral -o nlcst-is-literal.js","build-mangle":"browserify . -s nlcstIsLiteral -p tinyify -o nlcst-is-literal.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignore":["nlcst-is-literal.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"3a5d5051485b1f3006ff84c9d6d040b395bf86f5","homepage":"https://github.com/syntax-tree/nlcst-is-literal#readme","_id":"nlcst-is-literal@1.2.0","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"bc0ce369df552945a696634ab2808535fd5fbb32","size":3893,"noattachment":false,"key":"/nlcst-is-literal/-/nlcst-is-literal-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nlcst-is-literal/download/nlcst-is-literal-1.2.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nlcst-is-literal_1.2.0_1558606472479_0.6241893968996655"},"_hasShrinkwrap":false,"publish_time":1558606472588,"_cnpm_publish_time":1558606472588},"1.1.2":{"name":"nlcst-is-literal","version":"1.1.2","description":"Check whether an NLCST node is meant literally","license":"MIT","keywords":["nlcst","retext","util","utility","literal","word"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/nlcst-is-literal.git"},"bugs":{"url":"https://github.com/syntax-tree/nlcst-is-literal/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"dependencies":{"nlcst-to-string":"^2.0.0"},"devDependencies":{"browserify":"^16.0.0","esmangle":"^1.0.0","nyc":"^11.0.0","prettier":"^1.12.1","remark-cli":"^5.0.0","remark-preset-wooorm":"^4.0.0","retext":"^5.0.0","tape":"^4.6.2","unist-util-visit":"^1.0.0","xo":"^0.20.0"},"scripts":{"format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify index.js --bare -s nlcstIsLiteral > nlcst-is-literal.js","build-mangle":"esmangle < nlcst-is-literal.js > nlcst-is-literal.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"guard-for-in":"off","no-var":"off","prefer-arrow-callback":"off","unicorn/prefer-type-error":"off"},"ignore":["nlcst-is-literal.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"826d63198aa51c000225025b30894354d4912052","homepage":"https://github.com/syntax-tree/nlcst-is-literal#readme","_id":"nlcst-is-literal@1.1.2","_npmVersion":"6.0.0","_nodeVersion":"9.5.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"f941989ca46c6dfc635e96df6b25dcebdb2eb89d","size":3573,"noattachment":false,"key":"/nlcst-is-literal/-/nlcst-is-literal-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/nlcst-is-literal/download/nlcst-is-literal-1.1.2.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nlcst-is-literal_1.1.2_1525261786441_0.8594137688196102"},"_hasShrinkwrap":false,"publish_time":1525261786515,"_cnpm_publish_time":1525261786515},"1.1.1":{"name":"nlcst-is-literal","version":"1.1.1","description":"Check whether an NLCST node is meant literally","license":"MIT","keywords":["nlcst","retext","util","utility","literal","word"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/nlcst-is-literal.git"},"bugs":{"url":"https://github.com/syntax-tree/nlcst-is-literal/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"dependencies":{"nlcst-to-string":"^2.0.0"},"devDependencies":{"browserify":"^14.0.0","esmangle":"^1.0.0","nyc":"^11.0.0","remark-cli":"^3.0.0","remark-preset-wooorm":"^3.0.0","retext":"^5.0.0","tape":"^4.6.2","unist-util-visit":"^1.0.0","xo":"^0.18.2"},"scripts":{"build-md":"remark . --quiet --frail --output","build-bundle":"browserify index.js --bare -s nlcstIsLiteral > nlcst-is-literal.js","build-mangle":"esmangle < nlcst-is-literal.js > nlcst-is-literal.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off"},"ignore":["nlcst-is-literal.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"4a939a4abbf71270cced1ea5122edb972fc6afde","homepage":"https://github.com/syntax-tree/nlcst-is-literal#readme","_id":"nlcst-is-literal@1.1.1","_shasum":"8d8f11dabffebf7526c13a80674e696421becaeb","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"8d8f11dabffebf7526c13a80674e696421becaeb","size":3334,"noattachment":false,"key":"/nlcst-is-literal/-/nlcst-is-literal-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/nlcst-is-literal/download/nlcst-is-literal-1.1.1.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nlcst-is-literal-1.1.1.tgz_1497366634904_0.8264559945091605"},"directories":{},"publish_time":1497366635864,"_cnpm_publish_time":1497366635864,"_hasShrinkwrap":false},"1.1.0":{"name":"nlcst-is-literal","version":"1.1.0","description":"Check whether an NLCST node is meant literally","license":"MIT","keywords":["nlcst","retext","util","utility","literal","word"],"repository":{"type":"git","url":"git+https://github.com/wooorm/nlcst-is-literal.git"},"bugs":{"url":"https://github.com/wooorm/nlcst-is-literal/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"dependencies":{"nlcst-to-string":"^2.0.0"},"devDependencies":{"browserify":"^13.0.0","esmangle":"^1.0.0","nyc":"^9.0.1","remark-cli":"^2.1.0","remark-preset-wooorm":"^1.0.0","retext":"^4.0.0","tape":"^4.6.2","unist-util-visit":"^1.0.0","xo":"^0.17.1"},"scripts":{"build-md":"remark . --quiet --frail --output","build-bundle":"browserify index.js --bare -s nlcstIsLiteral > nlcst-is-literal.js","build-mangle":"esmangle < nlcst-is-literal.js > nlcst-is-literal.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"ignore":["nlcst-is-literal.js"]},"remarkConfig":{"presets":"wooorm"},"gitHead":"b826cfc9bd5e4e4482195d5c49ac22a24ce1e7f9","homepage":"https://github.com/wooorm/nlcst-is-literal#readme","_id":"nlcst-is-literal@1.1.0","_shasum":"d7a442b333cf744a00a946c637edcf08a2d7dad5","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"d7a442b333cf744a00a946c637edcf08a2d7dad5","size":3195,"noattachment":false,"key":"/nlcst-is-literal/-/nlcst-is-literal-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nlcst-is-literal/download/nlcst-is-literal-1.1.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/nlcst-is-literal-1.1.0.tgz_1479243394545_0.7806500289589167"},"directories":{},"publish_time":1479243396678,"_cnpm_publish_time":1479243396678,"_hasShrinkwrap":false},"1.0.0":{"name":"nlcst-is-literal","version":"1.0.0","description":"Check whether an NLCST node is meant literally","license":"MIT","keywords":["nlcst","retext","util","utility","literal","word"],"dependencies":{"nlcst-to-string":"^1.0.0"},"repository":{"type":"git","url":"git+https://github.com/wooorm/nlcst-is-literal.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"files":["index.js"],"devDependencies":{"browserify":"^11.0.0","eslint":"^1.0.0","esmangle":"^1.0.0","istanbul":"^0.3.0","jscs":"^2.0.0","jscs-jsdoc":"^1.0.0","mdast":"^1.0.0","mdast-comment-config":"^1.0.0","mdast-github":"^1.0.0","mdast-lint":"^1.0.0","mdast-slug":"^1.0.0","mdast-validate-links":"^1.0.0","mocha":"^2.0.0","retext":"^1.0.0-rc.3","unist-util-visit":"^1.0.0"},"scripts":{"test-api":"mocha --check-leaks test.js","test-coverage":"istanbul cover _mocha -- test.js","test-travis":"npm run test-coverage","test":"npm run test-api","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","make":"npm run lint && npm run test-coverage","bundle":"browserify index.js --no-builtins -s nlcstIsLiteral > nlcst-is-literal.js","postbundle":"esmangle nlcst-is-literal.js > nlcst-is-literal.min.js","build-md":"mdast . --quiet","build":"npm run bundle && npm run build-md"},"gitHead":"39fd72d8171422893928d739a2a2e14025509d5f","bugs":{"url":"https://github.com/wooorm/nlcst-is-literal/issues"},"homepage":"https://github.com/wooorm/nlcst-is-literal#readme","_id":"nlcst-is-literal@1.0.0","_shasum":"5bcdaf1272ca3ca3454dc12f7ac54cf8f9864537","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"5bcdaf1272ca3ca3454dc12f7ac54cf8f9864537","size":3828,"noattachment":false,"key":"/nlcst-is-literal/-/nlcst-is-literal-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nlcst-is-literal/download/nlcst-is-literal-1.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"publish_time":1440423778133,"_cnpm_publish_time":1440423778133,"_hasShrinkwrap":false}},"readme":"# nlcst-is-literal\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][sponsors-badge]][collective]\n[![Backers][backers-badge]][collective]\n[![Chat][chat-badge]][chat]\n\n[nlcst][] utility to check if a node is meant literally.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`isLiteral(parent, index|child)`](#isliteralparent-indexchild)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Related](#related)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis utility can check if a node is meant literally.\n\n## When should I use this?\n\nThis package is a tiny utility that helps when dealing with words.\nIt’s useful if a tool wants to exclude values that are possibly void of\nmeaning.\nFor example, a spell-checker could exclude these literal words, thus not warning\nabout “monsieur”.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install nlcst-is-literal\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {isLiteral} from 'https://esm.sh/nlcst-is-literal@3'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {isLiteral} from 'https://esm.sh/nlcst-is-literal@3?bundle'\n</script>\n```\n\n## Use\n\nSay our document `example.txt` contains:\n\n```txt\nThe word “foo” is meant as a literal.\n\nThe word «bar» is meant as a literal.\n\nThe word (baz) is meant as a literal.\n\nThe word, qux, is meant as a literal.\n\nThe word — quux — is meant as a literal.\n```\n\n…and our module `example.js` looks as follows:\n\n```js\nimport {read} from 'to-vfile'\nimport {ParseEnglish} from 'parse-english'\nimport {visit} from 'unist-util-visit'\nimport {toString} from 'nlcst-to-string'\nimport {isLiteral} from 'nlcst-is-literal'\n\nconst file = await read('example.txt')\nconst tree = new ParseEnglish().parse(String(file))\n\nvisit(tree, 'WordNode', function (node, index, parent) {\n  if (isLiteral(parent, index)) {\n    console.log(toString(node))\n  }\n})\n```\n\n…now running `node example.js` yields:\n\n```txt\nfoo\nbar\nbaz\nqux\nquux\n```\n\n## API\n\nThis package exports the identifier [`isLiteral`][api-is-literal].\nThere is no default export.\n\n### `isLiteral(parent, index|child)`\n\nCheck if the child in `parent` at `index` is enclosed by matching delimiters.\n\nFor example, `foo` is literal in the following samples:\n\n*   `Foo - is meant as a literal.`\n*   `Meant as a literal is - foo.`\n*   `The word “foo” is meant as a literal.`\n\n###### Parameters\n\n*   `parent` ([`Node`][node])\n    — parent node\n*   `index` (`number`)\n    — index of child in parent\n*   `child` ([`Node`][node])\n    — child node of parent\n\n###### Returns\n\nWhether the child is a literal (`boolean`).\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports no additional types.\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line, `nlcst-is-literal@^3`,\ncompatible with Node.js 16.\n\n## Related\n\n*   [`nlcst-normalize`](https://github.com/syntax-tree/nlcst-normalize)\n    — normalize a word for easier comparison\n*   [`nlcst-search`](https://github.com/syntax-tree/nlcst-search)\n    — search for patterns\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`syntax-tree/.github`][health] for\nways to get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/syntax-tree/nlcst-is-literal/workflows/main/badge.svg\n\n[build]: https://github.com/syntax-tree/nlcst-is-literal/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/nlcst-is-literal.svg\n\n[coverage]: https://codecov.io/github/syntax-tree/nlcst-is-literal\n\n[downloads-badge]: https://img.shields.io/npm/dm/nlcst-is-literal.svg\n\n[downloads]: https://www.npmjs.com/package/nlcst-is-literal\n\n[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=nlcst-is-literal\n\n[size]: https://bundlejs.com/?q=nlcst-is-literal\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[collective]: https://opencollective.com/unified\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/syntax-tree/unist/discussions\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\n\n[typescript]: https://www.typescriptlang.org\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[health]: https://github.com/syntax-tree/.github\n\n[contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md\n\n[support]: https://github.com/syntax-tree/.github/blob/main/support.md\n\n[coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md\n\n[nlcst]: https://github.com/syntax-tree/nlcst\n\n[node]: https://github.com/syntax-tree/nlcst#nodes\n\n[api-is-literal]: #isliteralparent-indexchild\n","_attachments":{},"homepage":"https://github.com/syntax-tree/nlcst-is-literal#readme","bugs":{"url":"https://github.com/syntax-tree/nlcst-is-literal/issues"},"license":"MIT"}