3.0.1 • Published 1 year ago

as-typed-array v3.0.1

Weekly downloads
9
License
MIT
Repository
github
Last release
1 year ago

If I should maintain this repo, please ⭐️

DM me on Twitter if you have questions or suggestions.


Installation

yarn add as-typed-array
npm install as-typed-array
pnpm add as-typed-array

Usage

import asArray from "as-typed-array";

asArray(["ok"]); // ["ok"]

asArray("ok"); // ["ok"]

asArray({ ok: true }); // [{ ok: true }]

asArray(undefined); // [];
  • autorepo: Autorepo abstracts away your dev dependencies, providing a single command to run all of your scripts.

MIT