{"_id":"as-typed-array","_rev":"203963","name":"as-typed-array","description":"Make any value an array","dist-tags":{"latest":"3.0.1"},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"time":{"modified":"2023-03-21T13:35:02.000Z","created":"2020-09-20T21:33:50.003Z","3.0.1":"2023-01-10T01:57:13.115Z","3.0.0":"2023-01-10T01:40:39.212Z","2.0.0":"2023-01-06T16:23:10.167Z","1.0.0":"2020-09-20T21:33:50.003Z"},"users":{},"author":{"name":"Connor White"},"repository":{"type":"git","url":"git+https://github.com/bconnorwhite/as-typed-array.git"},"versions":{"3.0.1":{"name":"as-typed-array","version":"3.0.1","description":"Make any value an array","main":".auto/build/index.js","author":{"name":"Connor White"},"license":"MIT","private":false,"type":"module","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/as-typed-array.git"},"keywords":["array","any","typed"],"exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"devDependencies":{"autorepo":"^0.1.7"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"as-typed-array@3.0.1","dist":{"shasum":"dd64f71a95fc031491d6ee67ef556e286a108884","size":1803,"noattachment":false,"key":"/as-typed-array/-/as-typed-array-3.0.1.tgz","tarball":"http://name.csiicloud.com:7001/as-typed-array/download/as-typed-array-3.0.1.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/as-typed-array_3.0.1_1673315832912_0.35098354919489605"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-10T01:57:13.115Z","publish_time":1673315833115,"_cnpm_publish_time":1673315833115},"3.0.0":{"name":"as-typed-array","version":"3.0.0","description":"Make any value an array","main":".auto/build/index.js","author":{"name":"Connor White"},"license":"MIT","private":false,"type":"module","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/as-typed-array.git"},"keywords":["array","any","typed"],"exports":"./.auto/build/index.js","types":".auto/build/index.d.ts","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"devDependencies":{"autorepo":"^0.1.7"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"as-typed-array@3.0.0","dist":{"shasum":"ca53196ba5a45cdf0475bcd75dab682c13df6ad4","size":1799,"noattachment":false,"key":"/as-typed-array/-/as-typed-array-3.0.0.tgz","tarball":"http://name.csiicloud.com:7001/as-typed-array/download/as-typed-array-3.0.0.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/as-typed-array_3.0.0_1673314839062_0.11988579888072648"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-10T01:40:39.212Z","publish_time":1673314839212,"_cnpm_publish_time":1673314839212},"2.0.0":{"name":"as-typed-array","version":"2.0.0","description":"Make any value an array","main":".auto/build/index.js","author":{"name":"Connor White"},"license":"MIT","private":false,"type":"module","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/as-typed-array.git"},"keywords":["array","any","typed"],"exports":"./.auto/build/index.js","types":".auto/build/index.d.js","engines":{"node":"^14.13.1 || >=16.0.0"},"scripts":{"build":"auto build","dev":"auto dev","lint":"auto lint","prepack":"yarn build","release":"auto release","test":"auto test","typecheck":"auto typecheck"},"devDependencies":{"autorepo":"^0.1.3"},"eslintConfig":{"extends":"@autosoft/eslint-config"},"jest":{"preset":"@autosoft/jest-preset"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-auto"},"_id":"as-typed-array@2.0.0","dist":{"shasum":"0a8224121cd8b9d44d51ff3adfdc081bfdc79a24","size":1516,"noattachment":false,"key":"/as-typed-array/-/as-typed-array-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/as-typed-array/download/as-typed-array-2.0.0.tgz"},"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/as-typed-array_2.0.0_1673022189957_0.07856382756679325"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-06T16:40:21.562Z","publish_time":1673022190167,"_cnpm_publish_time":1673022190167},"1.0.0":{"name":"as-typed-array","version":"1.0.0","description":"Make any value an array, and maintain types","license":"MIT","author":{"name":"Connor White","email":"connor.bcw@gmail.com","url":"https://connorwhite.org"},"homepage":"https://connorwhite.org/github/as-typed-array","repository":{"type":"git","url":"git+https://github.com/bconnorwhite/as-typed-array.git"},"keywords":[],"main":"./build/index.js","scripts":{"build":"bob build","lint":"bob lint","postversion":"git push --tags","prepublishOnly":"yarn run lint && yarn run build && yarn run test","test":"jest"},"devDependencies":{"@bconnorwhite/bob":"^2.3.0","jest":"^26.4.2"},"eslintConfig":{"extends":"eslint-config-bob"},"npmpackagejsonlint":{"extends":"npm-package-json-lint-config-bob"},"_id":"as-typed-array@1.0.0","dist":{"shasum":"c179ad70ff364ee10b6531c3e6b79f9b235e39ad","size":1341,"noattachment":false,"key":"/as-typed-array/-/as-typed-array-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/as-typed-array/download/as-typed-array-1.0.0.tgz"},"maintainers":[{"name":"bconnorwhite","email":""},{"name":"npm:bconnorwhite","email":""}],"_npmUser":{"name":"bconnorwhite","email":"connor.bcw@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/as-typed-array_1.0.0_1600637629908_0.39795849398145156"},"_hasShrinkwrap":false,"publish_time":1600637630003,"_cnpm_publish_time":1600637630003,"_cnpmcore_publish_time":"2021-12-16T23:41:05.788Z"}},"readme":"<!--BEGIN HEADER-->\n<div id=\"top\" align=\"center\">\n  <h1>as-typed-array</h1>\n  <a href=\"https://npmjs.com/package/as-typed-array\">\n    <img alt=\"npm\" src=\"https://img.shields.io/npm/v/as-typed-array.svg\">\n  </a>\n  <a href=\"https://github.com/bconnorwhite/as-typed-array\">\n    <img alt=\"typescript\" src=\"https://img.shields.io/github/languages/top/bconnorwhite/as-typed-array.svg\">\n  </a>\n</div>\n\n<br />\n\n<blockquote align=\"center\">Make any value an array.</blockquote>\n\n<br />\n\n_If I should maintain this repo, please ⭐️_\n<a href=\"https://github.com/bconnorwhite/as-typed-array\">\n  <img align=\"right\" alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/bconnorwhite/as-typed-array?label=%E2%AD%90%EF%B8%8F&style=social\">\n</a>\n\n_DM me on [Twitter](https://twitter.com/bconnorwhite) if you have questions or suggestions._\n<a href=\"https://twitter.com/bconnorwhite\">\n  <img align=\"right\" alt=\"Twitter Follow\" src=\"https://img.shields.io/twitter/url?label=%40bconnorwhite&style=social&url=https%3A%2F%2Ftwitter.com%2Fbconnorwhite\">\n</a>\n\n---\n<!--END HEADER-->\n\n## Installation\n\n```sh\nyarn add as-typed-array\n```\n\n```sh\nnpm install as-typed-array\n```\n\n```sh\npnpm add as-typed-array\n```\n\n## Usage\n\n```ts\nimport asArray from \"as-typed-array\";\n\nasArray([\"ok\"]); // [\"ok\"]\n\nasArray(\"ok\"); // [\"ok\"]\n\nasArray({ ok: true }); // [{ ok: true }]\n\nasArray(undefined); // [];\n```\n\n<!--BEGIN FOOTER-->\n\n<br />\n\n<h2>Dev Dependencies</h2>\n\n- [autorepo](https://www.npmjs.com/package/autorepo): Autorepo abstracts away your dev dependencies, providing a single command to run all of your scripts.\n\n\n<br />\n\n<h2 id=\"license\">License <a href=\"https://opensource.org/licenses/MIT\"><img align=\"right\" alt=\"license\" src=\"https://img.shields.io/npm/l/as-typed-array.svg\"></a></h2>\n\n[MIT](https://opensource.org/licenses/MIT)\n<!--END FOOTER-->\n","_attachments":{},"license":"MIT"}