@cypherlab/js-utils

0.1.0 • Public • Published

@cypherlab/js-utils

🔧 JS utilities

npm

Install

npm i @cypherlab/js-utils --save

Usage

asArray

import { asArray } from '@cypherlab/js-utils'

asArray("foo , bar, foo") // ["foo", "bar"]
asArray("foo / bar", { delim: "/" }) // ["foo", "bar"]

Options:

  • delim // default ","
  • uniq // default true

Test

(npm|yarn) run test

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    1
    • latest

Version History

Package Sidebar

Install

npm i @cypherlab/js-utils

Weekly Downloads

1

Version

0.1.0

License

ISC

Unpacked Size

3.45 kB

Total Files

8

Last publish

Collaborators

  • larafale