just-another-lodash-mixins

0.0.4 • Public • Published

Just Another LoDash Mixins

Some missing features in LoDash that I find useful.

Installation

npm install just-another-lodash-mixins --save

Array manipulation

_.clearArray

Clear the items inside of an array.

const { _ } = require('lodash-mixins');
//ES2015
import { _ } from 'lodash-mixins';

const a = [1, 2, 3, 4];
const b = _.clearArray(a); // both a and b are []

Readme

Keywords

Package Sidebar

Install

npm i just-another-lodash-mixins

Weekly Downloads

1

Version

0.0.4

License

ISC

Last publish

Collaborators

  • hmch17