computify

1.0.2 • Public • Published

computify Build Status

Compute everything, even with units.

Install

$ npm install --save computify

Example

const computify = require('computify')

computify('100px*3')
// => '300px'

computify('100*3')
// => 300

computify('4px*10rem')
// => '40px'
// the second unit won't work

License

MIT © EGOIST

Readme

Keywords

none

Package Sidebar

Install

npm i computify

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • kchan