@jswork/next-if

1.0.1 • Public • Published

next-if

If condition for next.

version license size download

installation

npm install -S @jswork/next-if

usage

import '@jswork/next-if';

const obj1 = { name: 'fei' };
const res1 = nx.if(obj1.name === 'fei', 'yes', 'no');

// yes

license

Code released under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i @jswork/next-if

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

4.54 kB

Total Files

6

Last publish

Collaborators

  • afeiship