Skip to content

egoist/computify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Compute everything, even with units.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published