@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

Readme

Keywords

none

Package Sidebar

Install

npm i @cypherlab/js-utils

Weekly Downloads

2

Version

0.1.0

License

ISC

Unpacked Size

3.45 kB

Total Files

8

Last publish

Collaborators

  • larafale