{"_id":"4chan-boards","_rev":"9-fcce8c0683e42d9d47b0a4e1c23ffb4f","name":"4chan-boards","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"4chan-boards","version":"1.0.0","main":"index.js","author":{"name":"Philip Scott","email":"pscott@zeptohost.com"},"scripts":{"test":"mocha --reporter spec","travis-deploy-once":"travis-deploy-once","semantic-release":"semantic-release"},"license":"MIT","devDependencies":{"chai":"^4.1.2","mocha":"^5.0.0","travis-deploy-once":"^4.3.3","semantic-release":"^12.4.1"},"dependencies":{"semantic-release":"^12.4.1"},"repository":{"type":"git","url":"git+https://github.com/ScottyFillups/4chan-boards.git"},"gitHead":"d60b71e4f9a9ae7e26101c300476bd71f179fe18","bugs":{"url":"https://github.com/ScottyFillups/4chan-boards/issues"},"homepage":"https://github.com/ScottyFillups/4chan-boards#readme","_id":"4chan-boards@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"scottyfillups","email":"pscott@zeptohost.com"},"dist":{"integrity":"sha512-nkN0nPsKW2yvwiD1GdvIllotxa7I/N8Zds5k480XFr4uDj3iQ8tWq0LDLThkepjk2Jk+WyVJ0+CwO/ChIxgwCA==","shasum":"c3aa3df5f2a49e916b91901b75faded8115213b6","tarball":"https://registry.npmjs.org/4chan-boards/-/4chan-boards-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJxKohtKPBiwYP40FG65qS3aniQDTQH1+XVDFyNltVSwIhANgA8JvfjUixhP0dFyogSo5DzHMtd2lAkJ6ZJ2RucMkx"}]},"maintainers":[{"name":"scottyfillups","email":"pscott@zeptohost.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4chan-boards-1.0.0.tgz_1517202079533_0.8173552297521383"},"directories":{}},"1.0.1":{"name":"4chan-boards","version":"1.0.1","main":"index.js","author":{"name":"Philip Scott","email":"pscott@zeptohost.com"},"scripts":{"test":"mocha --reporter spec","travis-deploy-once":"travis-deploy-once","semantic-release":"semantic-release"},"license":"MIT","devDependencies":{"chai":"^4.1.2","mocha":"^5.0.0","travis-deploy-once":"^4.3.3","semantic-release":"^12.4.1"},"dependencies":{"semantic-release":"^12.4.1"},"repository":{"type":"git","url":"git+https://github.com/ScottyFillups/4chan-boards.git"},"gitHead":"303ce63938061dc50c85ea9dc7d77a6c46d58bb3","description":"Get a board's name and type given its short name (eg. `/b/`).","bugs":{"url":"https://github.com/ScottyFillups/4chan-boards/issues"},"homepage":"https://github.com/ScottyFillups/4chan-boards#readme","_id":"4chan-boards@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"scottyfillups","email":"pscott@zeptohost.com"},"dist":{"integrity":"sha512-FeMZr7R8fCoV0nGn4PY/j4XdQaPn/dn5TqO7s66qxBNxm4h0T3xM6oVar+HcrITP7ZWAB4e5JGrdcfvtnpDgmQ==","shasum":"e09a9b5a75addd55742200fc530a0640cc24e23c","tarball":"https://registry.npmjs.org/4chan-boards/-/4chan-boards-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2IuJKax08MdHNMYL8j4s+KjDBvH9X1/Xx0ukbqs+IPwIgS/9FpZUUuMZe+emjqxXIQQ/MZEGLzEd7+58XxlsUigI="}]},"maintainers":[{"name":"scottyfillups","email":"pscott@zeptohost.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4chan-boards-1.0.1.tgz_1517203304473_0.5546623680274934"},"directories":{}},"1.0.2":{"name":"4chan-boards","version":"1.0.2","main":"index.js","author":{"name":"Philip Scott","email":"pscott@zeptohost.com"},"scripts":{"test":"mocha --reporter spec","travis-deploy-once":"travis-deploy-once","semantic-release":"semantic-release"},"license":"MIT","devDependencies":{"chai":"^4.1.2","mocha":"^5.0.0","travis-deploy-once":"^4.3.3","semantic-release":"^12.4.1"},"dependencies":{"semantic-release":"^12.4.1"},"repository":{"type":"git","url":"git+https://github.com/ScottyFillups/4chan-boards.git"},"gitHead":"e7f0e4d5bd1104e65419a082b86d2396e6c98cee","description":"Get a board's name and type given its short name (eg. `/b/`).","bugs":{"url":"https://github.com/ScottyFillups/4chan-boards/issues"},"homepage":"https://github.com/ScottyFillups/4chan-boards#readme","_id":"4chan-boards@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"scottyfillups","email":"pscott@zeptohost.com"},"dist":{"integrity":"sha512-CXx99Admu3zGIUCQACF2U3edgydhtBP14BRD0lotEXs8YEUp2aogileWciZLiQUPK6Qwo9Vg0/XTPXGA9tVv4g==","shasum":"f4c9ec53665572da74b688e8ca222c24cbb49af0","tarball":"https://registry.npmjs.org/4chan-boards/-/4chan-boards-1.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB4uzNoYT/aZwnwHOBwugP6KuZ4r56ccI6qRaqAt3s4TAiEAr6QEmYB0ae+mC4/DLdnif0Z3IPZ0SZ5rV62ZodQiIdo="}]},"maintainers":[{"name":"scottyfillups","email":"pscott@zeptohost.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4chan-boards-1.0.2.tgz_1517203788596_0.37442285451106727"},"directories":{}},"1.0.3":{"name":"4chan-boards","version":"1.0.3","main":"index.js","author":{"name":"Philip Scott","email":"pscott@zeptohost.com"},"scripts":{"test":"mocha --reporter spec","travis-deploy-once":"travis-deploy-once","semantic-release":"semantic-release"},"license":"MIT","devDependencies":{"chai":"^4.1.2","mocha":"^5.0.0","travis-deploy-once":"^4.3.3","semantic-release":"^12.4.1"},"dependencies":{"semantic-release":"^12.4.1"},"repository":{"type":"git","url":"git+https://github.com/ScottyFillups/4chan-boards.git"},"gitHead":"30603e0c4fc980db2799310887084f98fc571efb","description":"Get a board's name and type given its short name (eg. `/b/`).","bugs":{"url":"https://github.com/ScottyFillups/4chan-boards/issues"},"homepage":"https://github.com/ScottyFillups/4chan-boards#readme","_id":"4chan-boards@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"scottyfillups","email":"pscott@zeptohost.com"},"dist":{"integrity":"sha512-7v9/poj0scwHAZSOsIFt3qJlvfyvAK4slMA6TH/6BvtnvQh8wkIpAojOGTjatSeVx3QDIirUaCOo9XhtBFbPKw==","shasum":"80a11fea744eaa1440a45b46b8e5bdbe6945bc6f","tarball":"https://registry.npmjs.org/4chan-boards/-/4chan-boards-1.0.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTO0IFQr/VAMil+7z+8dvihokUyeVn72RuPwK/hEHmNQIhAI94c7AObTiyjFf6nE65AeJHoKe+QSr0EH9GjmwMeMjA"}]},"maintainers":[{"name":"scottyfillups","email":"pscott@zeptohost.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4chan-boards-1.0.3.tgz_1517204177567_0.5491585007403046"},"directories":{}},"2.0.0":{"name":"4chan-boards","version":"2.0.0","main":"index.js","author":{"name":"Philip Scott","email":"pscott@zeptohost.com"},"scripts":{"test":"mocha --reporter spec","travis-deploy-once":"travis-deploy-once","semantic-release":"semantic-release"},"license":"MIT","devDependencies":{"chai":"^4.1.2","mocha":"^5.0.0","travis-deploy-once":"^4.3.3","semantic-release":"^12.4.1"},"dependencies":{"semantic-release":"^12.4.1"},"repository":{"type":"git","url":"git+https://github.com/ScottyFillups/4chan-boards.git"},"gitHead":"e62b6a2e781e19a41d48b35c2adfcaa58a9db56e","description":"Get a board's name and type given its short name (eg. `/b/`).","bugs":{"url":"https://github.com/ScottyFillups/4chan-boards/issues"},"homepage":"https://github.com/ScottyFillups/4chan-boards#readme","_id":"4chan-boards@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"scottyfillups","email":"pscott@zeptohost.com"},"dist":{"integrity":"sha512-NS6OTllf04gQUfPhwjvi0BilwMUauBeGE4UYqjgQu4wuMS1fT79arF+l8qtYlz2SiFt+RdJW3ehQ4iv/nmuBsg==","shasum":"3c727e10e7e79bc6aaf13f295f22d0f3071fcfec","tarball":"https://registry.npmjs.org/4chan-boards/-/4chan-boards-2.0.0.tgz","fileCount":10,"unpackedSize":114819,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDqrZF8azexIVN7OTisEDHXE/COgCGzW1/czABRo/ZZIAiEA3j0D7L1V/q7d8BFAnTw3v0n+LUR+mxX2lMdEugwj88A="}]},"maintainers":[{"name":"scottyfillups","email":"pscott@zeptohost.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4chan-boards_2.0.0_1520656123011_0.06170825819666992"},"_hasShrinkwrap":false},"2.0.1":{"name":"4chan-boards","version":"2.0.1","main":"index.js","author":{"name":"scootykins","email":"scootykins@yahoo.com"},"scripts":{"test":"mocha --reporter spec","travis-deploy-once":"travis-deploy-once","semantic-release":"semantic-release"},"license":"MIT","devDependencies":{"chai":"^4.1.2","mocha":"^5.0.0","travis-deploy-once":"^4.3.3","semantic-release":"^12.4.1"},"dependencies":{"semantic-release":"^12.4.1"},"repository":{"type":"git","url":"git+https://github.com/scootykins/4chan-boards.git"},"gitHead":"964169dd56231b439471d8d72790490adbc4e9ec","description":"Get a board's name and type given its short name (eg. `/b/`).","bugs":{"url":"https://github.com/scootykins/4chan-boards/issues"},"homepage":"https://github.com/scootykins/4chan-boards#readme","_id":"4chan-boards@2.0.1","_nodeVersion":"11.6.0","_npmVersion":"6.6.0","dist":{"integrity":"sha512-ONyEPy231I7778r69e95z36HRZenUboV8uxNePIcbgo4/Bm7XHuqLeAZYJ13kTPfXwBEp6GFCo8kLGLiMXcj9Q==","shasum":"589f2800f84a2866b040759f286e401532e5d0e3","tarball":"https://registry.npmjs.org/4chan-boards/-/4chan-boards-2.0.1.tgz","fileCount":11,"unpackedSize":115888,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcRJdiCRA9TVsSAnZWagAAJVQP/jRJYZaCFVR8WAjB4UoJ\nrv0nlzxvbIv8KWCEvYBW0fi1vE7WDb7PUaKsH9/DK5u3zDbhDILdTOrKWAc4\nRXgZlhP/PoCQTWVfh8cj6oKfBTx0ihGAx0+60ac5HuQl4sIQ90VH+7c+sY3q\nSdtmGRC1xOQd+/p9tHYfbFhePBgN9VnCZrFTBCtEIHbIIhk7mJs/KLoXTe1E\n7e/84MOMzOxR7R6sRFVJwyFx1BAo6NTRxq+avE2pm3Mn320vHNmje9ag7XTM\nVGA364A1lT5xg/lLogYdyf9fZwnNaXuOJjZ3MVFJUxh99Ph9tTHI36uGMAGe\nlS6K5HySqK9f+V0EPSAxUN9ff1ad5cbOVggUIXmDq3wXkSa5EpZNB8R9ajdG\nB4eAeLo+DQ1oH6aTmReSUhlWlcdibqaQ0c3v5PLcI0CbsDjREgso90vVd1Gp\nin2sWgd4Ethu6vtPGAiC4JD0uC9XxdgJXIFyYDJNUAfiRtS+7rZpCqErh9sy\nfZaXj06WMbd9hf+5fqexhLau7HLqBS5qeBReroPk2gIgN2yLUjqdnkjsN3bf\nP1TL7Dy7LYYGUedwge4Qzxx9ZQz7EQbAKAjrgRTmAHbSQwhGWH/AmiC/ck3Q\nVPFGRKqrRMQwXRqER76+UHGS3EGDaHqXaBZXoYFRwghuKsnjFM4Rz1UIX++6\nEm37\r\n=RrPu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7BduKvpT4t1KUMp1+SdSeb1UoKfD94V1CmQYpGjnMcQIhAObLGPHhUHjOcE/alq2X6jp9McZ45ERp53uUbYKbma4k"}]},"maintainers":[{"email":"scootykins@yahoo.com","name":"scootykins"}],"_npmUser":{"name":"scootykins","email":"scootykins@yahoo.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/4chan-boards_2.0.1_1547999073494_0.3403829747344522"},"_hasShrinkwrap":false}},"readme":"# 4chan-boards\n\nGet a board's name and type given its short name (eg. `/b/`).\n\n### 2.0.0 BREAKING CHANGES\n\nEnumerated types are now `Symbol`s, so relying on falsy evaluation will no longer work:\n\n```js\nconst boards = require('4chan-boards')\n\nif (boards.getType('b')) {\n  console.log('This will not print!')\n}\n```\n\nInstead, use the provided enumerated types:\n\n```js\nif (boards.getType('b') !== boards.INVALID) {\n  console.log('This message prints! Yay!')\n}\n```\n\n## Installation\n\n```bash\nyarn add 4chan-boards\n\n# OR\n\nnpm install --save 4chan-boards\n```\n\n## Usage\n\n```js\nconst boards = require('4chan-boards')\n\nconsole.log(boards.getName('wsg'))                // Worksafe GIF\nconsole.log(boards.getType('b') === boards.NSFW)  // true\n```\n\n## API\n\n### Methods\n\nGet information (ie name or type) about a board.\n\n* **boards.getName(board)**\n* **boards.getType(board)**\n\n\n### Objects\n\nObjects mapping short names to full names. `boards.all` contains the mapping for all the boards, `boards.sfw` contains mapping for only the SFW boards, etc.\n\n* **boards.all**\n* **boards.admin**\n* **boards.nsfw**\n* **boards.sfw**\n\n\n### Enumerated types\n\n`boards.getType(board)` will return an enumerated type, which has been implemented as a `Symbol`\n\n* **boards.ADMIN**\n* **boards.NSFW**\n* **boards.SFW**\n* **boards.INVALID**\n","maintainers":[{"email":"scootykins@yahoo.com","name":"scootykins"}],"time":{"modified":"2022-04-04T10:22:22.897Z","created":"2018-01-29T05:01:20.062Z","1.0.0":"2018-01-29T05:01:20.062Z","1.0.1":"2018-01-29T05:21:45.526Z","1.0.2":"2018-01-29T05:29:49.607Z","1.0.3":"2018-01-29T05:36:17.645Z","2.0.0":"2018-03-10T04:28:43.134Z","2.0.1":"2019-01-20T15:44:33.620Z"},"homepage":"https://github.com/scootykins/4chan-boards#readme","repository":{"type":"git","url":"git+https://github.com/scootykins/4chan-boards.git"},"author":{"name":"scootykins","email":"scootykins@yahoo.com"},"bugs":{"url":"https://github.com/scootykins/4chan-boards/issues"},"license":"MIT","readmeFilename":"README.md","description":"Get a board's name and type given its short name (eg. `/b/`)."}