Lutils lutils
A few reliable utils. Browser-friendly.
import { typeOf, merge, clone } from 'lutils'
const { typeOf, merge, clone } = require('lutils')
const typeOf = require('lutils-typeof')
const merge = require('lutils-merge')
const clone = require('lutils-clone')
API
merge
Recursively merge objects.
See lutils-merge
clone
Recursively clone objects.
See lutils-clone
typeOf
Type check for primitives reliably.
See lutils-typeof
Why?
Javascript doesn't need a lot on top of it now that we have ES6/ES7.
Some things are still too hard to do, which is exactly what these utils try to fix.