1.0.2 • Published 8 years ago

price-parse v1.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

price-parse

Simply parse a string of text and return a price if found. If a price cannot be found, NaN will be returned.

Quick start guide

Install price-parse

npm install --save price-parse

Usage

const priceParse = require('price-parse');

priceParse('$15.00'); // 15
priceParse('Price is $22.50'); // 22.50
1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago