davidpaulhunt / yno

A bare-bones utility set, inspired by lodash, meant to be slim, accessible, and intuitive.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yno

pronounced: (y - no)

A bare-bone utility set, inspired by lodash, meant to be:

  • slim
  • independent
  • intuitive
  • accessible
  • tested

Installation

$ npm i -S yno

Usage

const y = require('yno');

y.isArray([1, 2, 3]) // => true

y.isString('hello world') // => true

y.isBoolean('i am a boolean!') // => false

let foo;
y.isPresent(foo) // => false

foo = 'bar';
y.isPresent(foo) // => true

Testing

Yno uses vowsjs and shouldjs.

$ npm test

About

A bare-bones utility set, inspired by lodash, meant to be slim, accessible, and intuitive.


Languages

Language:JavaScript 100.0%