parse 'px' into numbers
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.jshintrc
.tern-project
component.json
license
readme.md

readme.md

from_px

install

component install ramitos/from_px

api

var from_px = require('from_px')

from_px('100px') //=> 100
from_px(null) //=> 0
from_px(undefined) //=> 0
from_px(NaN) //=> 0
from_px({}) //=> 0

license

MIT