{"_id":"is-options","_rev":"4-a75d52a9827137fbfd1b5192d2eca6da","name":"is-options","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"is-options","version":"1.0.0","description":"WIP - nothing to see here","main":"index.js","dependencies":{},"devDependencies":{"standard":"^11.0.1","tape":"^4.9.0"},"scripts":{"test":"standard && tape test.js"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/is-options.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/is-options/issues"},"homepage":"https://github.com/mafintosh/is-options","gitHead":"ce0f870a959ddb0659c724782de291604e519b86","_id":"is-options@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.7.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"integrity":"sha512-ic46TmaW0Acqxrv0wvIOH3y/OshX1qrv5/H62TF3oBADVgvcWEMw/HMzaIQVDRBxE+67s+KUUTPNYE0q8Uf/sA==","shasum":"a476c25de3077988789dd176cd5b1a83ecc9ad2a","tarball":"https://registry.npmjs.org/is-options/-/is-options-1.0.0.tgz","fileCount":6,"unpackedSize":2897,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKkXHSwA7r+KSOBK/uBh+N0myKErVOYQG9Z0vYYwYVmQIgeROJ2nNAFPDC3cw1RvGpwg8C40VxioufOa4wBXL6+U0="}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-options_1.0.0_1521317138697_0.5340298864706536"},"_hasShrinkwrap":false},"1.0.1":{"name":"is-options","version":"1.0.1","description":"Easily check if input is an options map","main":"index.js","dependencies":{},"devDependencies":{"standard":"^11.0.1","tape":"^4.9.0"},"scripts":{"test":"standard && tape test.js"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/is-options.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/is-options/issues"},"homepage":"https://github.com/mafintosh/is-options","gitHead":"37a25dd8cff4b342f5cc0922b58374a4019f6a1e","_id":"is-options@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.7.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"integrity":"sha512-2Xj8sA0zDrAcaoWfBiNmc6VPWAgKDpim0T3J9Djq7vbm1UjwbUWzeuLu/FwC46g3cBbAn0E5R0xwVtOobM6Xxg==","shasum":"25b13036030fafca858918124c24048f788be04f","tarball":"https://registry.npmjs.org/is-options/-/is-options-1.0.1.tgz","fileCount":6,"unpackedSize":2903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHyFGe2BQxN5iIuqk0olZBnxxVmm5Kes2+b3YWCYTdJfAiEAkxd8yXjey1IrBWIaOgr8loxxGH/XkUmriN8OgEurhjI="}]},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-options_1.0.1_1521317410762_0.008471231018426728"},"_hasShrinkwrap":false},"1.0.2":{"name":"is-options","version":"1.0.2","description":"Easily check if input is an options map","main":"index.js","dependencies":{"b4a":"^1.1.1"},"devDependencies":{"standard":"^11.0.1","tape":"^4.9.0"},"scripts":{"test":"standard && tape test.js"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/is-options.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/is-options/issues"},"homepage":"https://github.com/mafintosh/is-options","gitHead":"beefd931e69cb899f9a0281d493ed11af4ccc401","_id":"is-options@1.0.2","_nodeVersion":"16.8.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-u+Ai74c8Q74aS8BuHwPdI1jptGOT1FQXgCq8/zv0xRuE+wRgSMEJLj8lVO8Zp9BeGb29BXY6AsNPinfqjkr7Fg==","shasum":"61dcfc1e8786c028a3adf919fa3b3cdb9fc30f81","tarball":"https://registry.npmjs.org/is-options/-/is-options-1.0.2.tgz","fileCount":6,"unpackedSize":2941,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhm3tOCRA9TVsSAnZWagAAL94P/22DpC89qx0Xeg+do6P1\nR3be17eMG8AYoufXkpMpNsuOLmDRfFx8cdEjKvjEBrz+Ex0xT7VdreJ9V3qO\nTd8mhBKJVXi+7nnnkGLARqLlapZO0SIkBZyvJowQxpE7S2QqKqugFo8wjc0A\nV6+zZmDfDGncdRcIzoCVE1Tmx1Txmzm42ZW/wVGgMDRzdYTnqgKY3mjxIAIL\nUWVBrvjeKLaDt2rJSjOqfHqsrXz46enDSqo64bPmR26+5JqQC9t0fnsXZaVu\nPa+YXZx1NcGfTN9sRod6LnlfeHp3OqpcGXrh/txaWY4yYmPuUqH5EyJTSam/\nhhsyQ9DoBvCrDFgIKmKP3YkDOE8VsTLJZlf7L7RMRnm/uaH0Jcp6ETwghz5V\nT0M0mlK3QzKs4SlPQ/sp41GVEPpHF1VJWcrKwWktwa5mRLJiQwy7tFVANEBv\nnpFslXY+EJNiiLSIBhzMZCUZi/gwqQSHfxuNsTDIJAVxno9UYSKSVklKMHNY\nvWNLHBVrkCh2psTJ0HcKQp/qJ07bdiK6NBbYjvsSOA6I/zMVIEkWBEKABM1+\nRjVsF89d5hA176OvEQqnTYkfkFBCFQ/BYet6Dq9kdyZGmqii1TOitiu0vcLE\nYRhT9Nq66Ghe1/qeetHobuIQ6ImTU+Iu6eQCwi0b5VlZ6yRhdSN7FPhwgZdq\nT+Qi\r\n=yEsv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCNd4sZ2q1Ba5Q80AVBwKFZbL8eDvj8gxgEQ1QbrJdNAIhAPcO4NxcyVcA9+0uMZChG+3pxa3LW23NR5vAwkgx3IXT"}]},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-options_1.0.2_1637579598611_0.40528852202689714"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-17T20:05:38.696Z","1.0.0":"2018-03-17T20:05:38.774Z","modified":"2022-05-06T05:13:33.187Z","1.0.1":"2018-03-17T20:10:10.814Z","1.0.2":"2021-11-22T11:13:18.772Z"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"description":"Easily check if input is an options map","homepage":"https://github.com/mafintosh/is-options","repository":{"type":"git","url":"git+https://github.com/mafintosh/is-options.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"bugs":{"url":"https://github.com/mafintosh/is-options/issues"},"license":"MIT","readme":"# is-options\n\nEasily check if input is an options map\n\n```\nnpm install is-options\n```\n\n[![Build Status](https://travis-ci.org/mafintosh/is-options.svg?branch=master)](https://travis-ci.org/mafintosh/is-options)\n\n## Usage\n\n``` js\nvar isOptions = require('is-options')\n\nthing('', {foo: true}) // key='', opts={foo: true}\nthing({foo: true}) // key=undefined, opts={foo: true}\nthing(Buffer.from('buf'), {foo: true}) // key=Buffer('buf'), opts={foo: true}\n\nfunction thing (optionalKey, opts) {\n  if (isOptions(optionalKey)) {\n    opts = optionalKey\n    optionalKey = undefined\n  }\n\n  console.log('key', optionalKey)\n  console.log('options', opts)\n}\n```\n\n## API\n\n#### `bool = isOptions(obj)`\n\nReturns true is `obj` is an object and not a buffer\n\n## License\n\nMIT\n","readmeFilename":"README.md"}