@d1g1tal/chrysalis

2.5.0 • Public • Published

chrysalis

JavaScript Utility Modules and Extensions

This is a collection of various utility functions. You can either import an ES module or add to the prototype of an existing object.

Installation:

npm install @d1g1tal/chrysalis --save

Usage:

import { _arrayIsEmpty } from '@d1g1tal/chrysalis';

const array = [];

console.log(`Array is empty? ${_arrayIsEmpty(array)}`); // Array is empty? true

Available ESM Modules:

  • _arrayInsert
  • _arrayIsEmpty
  • _arrayRemove
  • _asciiToHex
  • _booleanParse
  • _defineProperties
  • _elementSiblings
  • _toggleElementClasses
  • _asciiToHex
  • _hexToAscii

Readme

Keywords

Package Sidebar

Install

npm i @d1g1tal/chrysalis

Weekly Downloads

35

Version

2.5.0

License

ISC

Unpacked Size

289 kB

Total Files

249

Last publish

Collaborators

  • d1g1tal