price-parse

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i price-parse

Weekly Downloads

0

Version

1.0.2

License

ISC

Last publish

Collaborators

  • leahcimic