Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

leapond-js-utils

leapond3MITdeprecated1.0.6

This module moved to @leapond/utilities

On-demand tiny utilities.

ondemand, tiny, util, utilites, utility, leapond, javascript

readme

js-utils

On-demand tiny JavaScript utilities.

Installation

NPM

# for node(bundled)
npm i leapond-js-utils -D
# for web(esm)
npm i leapond-js-utils

Yarn

# for node(bundled)
yarn add leapond-js-utils -D
# for web
yarn add leapond-js-utils

Usage

// for node(bundled)
import {toStr} from "leapond-js-utils";
// for web(esm)
import {toStr} from "leapond-js-utils/src/index.js";

console.log(toStr.call(null))