JSPM

@jswork/next-array-trim

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q32809F
  • License MIT

Trim array like string.trim for next.

Package Exports

  • @jswork/next-array-trim

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jswork/next-array-trim) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

next-array-trim

Trim array like string.trim for next.

version license size download

installation

npm install -S @jswork/next-array-trim

usage

import '@jswork/next-array-trim';

const arr = [undefined, undefined, undefined, 'a', 'b', 'c', undefined];
nx.arrayTrim(arr, undefined);    // ['a','b','c']

license

Code released under the MIT license.