{"_id":"reserved-words","_rev":"7-bcdccde660ba5fbb96b762392a066f8a","name":"reserved-words","description":"ECMAScript reserved words checker","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.1":{"name":"reserved-words","version":"0.1.1","description":"ECMAScript reserved words checker","main":"lib/index.js","scripts":{"test":"jshint && jscs lib test && mocha"},"repository":{"type":"git","url":"git+https://github.com/zxqfox/reserved-words.git"},"keywords":["ES3","ES5","ES6","ReservedWord","Keyword","checker"],"author":{"name":"Alexej Yaroshevich","email":"zxqfox@gmail.com","url":"http://github.com/zxqfox"},"license":"MIT","bugs":{"url":"https://github.com/zxqfox/reserved-words/issues"},"homepage":"https://github.com/zxqfox/reserved-words#readme","devDependencies":{"jscs":"^1.13.1","jscs-jsdoc":"^1.1.0","jshint":"^2.8.0","mocha":"^2.2.5"},"files":["lib","README.md","LICENSE"],"gitHead":"0f719a971be6cfbe582d3d11a86726470904d5e1","_id":"reserved-words@0.1.1","_shasum":"6f7c15e5e5614c50da961630da46addc87c0cef2","_from":".","_npmVersion":"2.9.0","_nodeVersion":"2.0.1","_npmUser":{"name":"qfox","email":"zxqfox@gmail.com"},"dist":{"shasum":"6f7c15e5e5614c50da961630da46addc87c0cef2","tarball":"https://registry.npmjs.org/reserved-words/-/reserved-words-0.1.1.tgz","integrity":"sha512-euEybI59Vm1AF89RoZ3CloQB77LnIdRnJQRGOWqQxuFC8Brd0DVSoxfDt/+k+MTT6VcCK5aqwkcRG+kZp7uAIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBROQdyy8hKuKDwB+qVOpvcfD67DO+npW5HRpBQZW2XmAiAFn/Y9lUAo41FeHiv7QGh2+gHdh0rzRX3hGRx/FZn7XQ=="}]},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"}],"directories":{}},"0.1.2":{"name":"reserved-words","version":"0.1.2","description":"ECMAScript reserved words checker","main":"lib/index.js","scripts":{"test":"jshint && jscs lib test && mocha"},"repository":{"type":"git","url":"git+https://github.com/zxqfox/reserved-words.git"},"keywords":["ES3","ES5","ES6","ReservedWord","Keyword","checker"],"author":{"name":"Alexej Yaroshevich","email":"zxqfox@gmail.com","url":"http://github.com/zxqfox"},"license":"MIT","bugs":{"url":"https://github.com/zxqfox/reserved-words/issues"},"homepage":"https://github.com/zxqfox/reserved-words#readme","devDependencies":{"jscs":"^1.13.1","jscs-jsdoc":"^1.1.0","jshint":"^2.8.0","mocha":"^2.2.5"},"files":["lib","README.md","LICENSE"],"gitHead":"55071b49b55e57b949b0557b4e8f2b711919fe43","_id":"reserved-words@0.1.2","_shasum":"00a0940f98cd501aeaaac316411d9adc52b31ab1","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.5.0","_npmUser":{"name":"qfox","email":"zxqfox@gmail.com"},"dist":{"shasum":"00a0940f98cd501aeaaac316411d9adc52b31ab1","tarball":"https://registry.npmjs.org/reserved-words/-/reserved-words-0.1.2.tgz","integrity":"sha512-0S5SrIUJ9LfpbVl4Yzij6VipUdafHrOTzvmfazSw/jeZrZtQK303OPZW+obtkaw7jQlTQppy0UvZWm9872PbRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBpRKRwW+SfyrvqkE4GKORSJqoVZS4KFyUaDETnk9ISgIgMkh4X5RqnjZc6AFFzoYaIBAcHybq00xOjmFHosEOwUQ="}]},"maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/reserved-words-0.1.2.tgz_1502544647834_0.17254906753078103"},"directories":{}}},"readme":"# reserved-words\n\n[![Build Status](https://secure.travis-ci.org/zxqfox/reserved-words.svg)](http://travis-ci.org/zxqfox/reserved-words)\n\n## What is it?\n\nTiny package for detecting reserved words.\n\n`Reserved Word` is either a `Keyword`, or a `Future Reserved Word`, or a `Null Literal`, or a `Boolean Literal`.\nSee: [ES5 #7.6.1](http://es5.github.io/#x7.6.1) and\n[ES6 #11.6.2](http://www.ecma-international.org/ecma-262/6.0/#sec-reserved-words).\n\n## Installation\n\n```\nnpm install reserved-words\n```\n\n## API\n\n### check(word, [dialect], [strict])\n\nReturns `true` if provided identifier string is a Reserved Word\nin some ECMAScript dialect (ECMA-262 edition).\n\nIf the `strict` flag is truthy, this function additionally checks whether\n`word` is a Keyword or Future Reserved Word under strict mode.\n\n#### Example\n\n```\nvar reserved = require('reserved-words');\nreserved.check('volatile', 'es3'); // true\nreserved.check('volatile', 'es2015'); // false\nreserved.check('yield', 3); // false\nreserved.check('yield', 6); // true\n```\n\n### dialects\n\n#### es3 (or 3)\n\nRepresents [ECMA-262 3rd edition](http://www.ecma-international.org/publications/files/ECMA-ST-ARCH/ECMA-262,%203rd%20edition,%20December%201999.pdf).\n\nSee section 7.5.1.\n\n#### es5 (or 5)\n\nRepresents [ECMA-262 5th edition (ECMAScript 5.1)](http://es5.github.io/).\n\nReserved Words are formally defined in ECMA262 sections\n[7.6.1.1](http://es5.github.io/#x7.6.1.1) and [7.6.1.2](http://es5.github.io/#x7.6.1.2).\n\n#### es2015 (or es6, 6)\n\nRepresents [ECMA-262 6th edition](ECMAScript 2015).\n\nReserved Words are formally defined in sections\n[11.6.2.1](http://ecma-international.org/ecma-262/6.0/#sec-keywords) and\n[11.6.2.2](http://ecma-international.org/ecma-262/6.0/#sec-future-reserved-words).\n\n### License\n\nLicensed under [The MIT License](https://github.com/zxqfox/reserved-words/blob/master/LICENSE)\n","maintainers":[{"name":"qfox","email":"zxqfox@gmail.com"}],"time":{"modified":"2023-07-12T19:14:17.055Z","created":"2015-07-20T10:39:40.238Z","0.1.0":"2015-07-20T10:39:40.238Z","0.1.1":"2015-07-20T10:51:23.955Z","0.1.2":"2017-08-12T13:30:48.769Z"},"homepage":"https://github.com/zxqfox/reserved-words#readme","keywords":["ES3","ES5","ES6","ReservedWord","Keyword","checker"],"repository":{"type":"git","url":"git+https://github.com/zxqfox/reserved-words.git"},"author":{"name":"Alexej Yaroshevich","email":"zxqfox@gmail.com","url":"http://github.com/zxqfox"},"bugs":{"url":"https://github.com/zxqfox/reserved-words/issues"},"license":"MIT","readmeFilename":"README.md","users":{"flumpus-dev":true}}