{"_id":"parse-price","_rev":"11-d6c76ccebe42781c7a25395f08819aa4","name":"parse-price","description":"returns a Number from a localized price string","dist-tags":{"latest":"1.1.8"},"versions":{"1.0.0":{"name":"parse-price","version":"1.0.0","description":"returns a `Number` from a localized price string","main":"src/index.js","directories":{"test":"test"},"scripts":{"test":"tap test/index.js --cov","test:lint":"standard 'src/**/*.js' 'test/**/*.js'","test:lint:fix":"standard --fix 'src/**/*.js' 'test/**/*.js'","test:all":"npm run test:lint && npm run test"},"repository":{"type":"git","url":"git+https://github.com/caiogondim/parse-price.js.git"},"keywords":["parse","number","localization","price","i10n","i18n","internationalization"],"author":{"name":"Caio Gondim"},"license":"MIT","bugs":{"url":"https://github.com/caiogondim/parse-price.js/issues"},"homepage":"https://github.com/caiogondim/parse-price.js#readme","devDependencies":{"covert":"^1.1.0","standard":"^7.1.2","tap":"^6.3.0"},"gitHead":"fb95ec077e8fb2c44219498eccf1b198436d8127","_id":"parse-price@1.0.0","_shasum":"9114ea60ae69e8eae7dff0fbd22a864f70d4baa7","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.1","_npmUser":{"name":"caiogondim","email":"me@caiogondim.com"},"maintainers":[{"name":"caiogondim","email":"me@caiogondim.com"}],"dist":{"shasum":"9114ea60ae69e8eae7dff0fbd22a864f70d4baa7","tarball":"https://registry.npmjs.org/parse-price/-/parse-price-1.0.0.tgz","integrity":"sha512-/lPawSuJ9adYA4uKPYiQElLcFQ/jfoQ7XowtP7km/GJ/zvaZGtfjk+gXsNZi45RnIfzE8dh9POZTx+0D2S75+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbgATXC5W7MV3u6XhwfEFbDO5kOnuEDET90n9tGy+RCwIgeAIO8gKaGAzo5nt3VPWugXFRt20HT6drFaJDqZRK8Ec="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/parse-price-1.0.0.tgz_1470145013953_0.7040616138838232"}},"1.1.0":{"name":"parse-price","version":"1.1.0","description":"returns a `Number` from a localized price string","main":"src/index.js","directories":{"test":"test"},"scripts":{"test":"tap test/index.js --cov","test:lint":"standard 'src/**/*.js' 'test/**/*.js'","test:lint:fix":"standard --fix 'src/**/*.js' 'test/**/*.js'","test:all":"npm run test:lint && npm run test","posttest":"tap --coverage-report=lcov | codecov","build":"webpack && ./tasks/write-banner","build:min":"webpack && uglifyjs dist/parse-price.js -c -m -o dist/parse-price.min.js && ./tasks/write-banner","build:all":"npm run build && npm run build:min"},"repository":{"type":"git","url":"git+https://github.com/caiogondim/parse-price.js.git"},"keywords":["parse","number","localization","price","i10n","i18n","internationalization"],"author":{"name":"Caio Gondim"},"license":"MIT","bugs":{"url":"https://github.com/caiogondim/parse-price.js/issues"},"homepage":"https://github.com/caiogondim/parse-price.js#readme","devDependencies":{"codecov":"^1.0.1","covert":"^1.1.0","standard":"^7.1.2","tap":"^6.3.0","uglify-js":"^2.7.0","webpack":"^1.13.1"},"gitHead":"bf86986b3d7f70b6e12e8943bc26cd05e8467146","_id":"parse-price@1.1.0","_shasum":"e54ebb42924b331b54b8ae6c49bd6496f3a6632b","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"caiogondim","email":"me@caiogondim.com"},"maintainers":[{"name":"caiogondim","email":"me@caiogondim.com"}],"dist":{"shasum":"e54ebb42924b331b54b8ae6c49bd6496f3a6632b","tarball":"https://registry.npmjs.org/parse-price/-/parse-price-1.1.0.tgz","integrity":"sha512-KzqFcyW85Yz2hO7XUOKo5JhwFB67eYp1M599EqtQOA9L2HD72WYHe2CMqijw/zGtG5WZilBj+jwk9Ji0OR6wxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEP/UBMAmtu4zwpS3gip5/UdoWPviq5bFp0fLttj3QNEAiBKXR9wlxFeulCYwcH637UpW/q/cJQb9ryMQaQT1Q+Spw=="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/parse-price-1.1.0.tgz_1470251961590_0.750971253728494"}},"1.1.2":{"name":"parse-price","version":"1.1.2","description":"returns a `Number` from a localized price string","main":"src/index.js","directories":{"test":"test"},"scripts":{"test":"tap test/index.js --cov","test:lint":"standard 'src/**/*.js' 'test/**/*.js'","test:lint:fix":"standard --fix 'src/**/*.js' 'test/**/*.js'","test:all":"npm run test:lint && npm run test","posttest":"tap --coverage-report=lcov | codecov","build":"webpack && ./tasks/write-banner","build:min":"webpack && uglifyjs dist/parse-price.js -c -m -o dist/parse-price.min.js && ./tasks/write-banner","build:all":"npm run build && npm run build:min","preversion":"npm run test:all","version":"npm run build:all && git add dist/"},"repository":{"type":"git","url":"git+https://github.com/caiogondim/parse-price.js.git"},"keywords":["parse","number","localization","price","i10n","i18n","internationalization"],"author":{"name":"Caio Gondim"},"license":"MIT","bugs":{"url":"https://github.com/caiogondim/parse-price.js/issues"},"homepage":"https://github.com/caiogondim/parse-price.js#readme","devDependencies":{"codecov":"^1.0.1","covert":"^1.1.0","standard":"^7.1.2","tap":"^6.3.0","uglify-js":"^2.7.0","webpack":"^1.13.1"},"gitHead":"6a5202e5a383ea659963173292ad03f4576e5d44","_id":"parse-price@1.1.2","_shasum":"d4598fa2f73997b24613a953b5a3520dde52f22b","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"caiogondim","email":"me@caiogondim.com"},"maintainers":[{"name":"caiogondim","email":"me@caiogondim.com"}],"dist":{"shasum":"d4598fa2f73997b24613a953b5a3520dde52f22b","tarball":"https://registry.npmjs.org/parse-price/-/parse-price-1.1.2.tgz","integrity":"sha512-7yY0WOvgPXQWilh+cjgVvyCzCsXeewCrb5tHaGqTRv2A6wWfaVDkTmlmXfwMhinvfl7XgpcVc3uLFZRdXls9gQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICAH4EC9LB5Ao1NnjMe+ZVBbhbpn9jMLygHtC5RfRLTLAiBoq0uV5PRSyXxO9PEyz5HPnM3HOp8SDlHawstS0IP/KA=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/parse-price-1.1.2.tgz_1470252171832_0.843605020083487"}},"1.1.3":{"name":"parse-price","version":"1.1.3","description":"returns a Number from a localized price string","main":"src/index.js","directories":{"test":"test"},"scripts":{"test":"tap test/index.js --cov","test:lint":"standard 'src/**/*.js' 'test/**/*.js'","test:lint:fix":"standard --fix 'src/**/*.js' 'test/**/*.js'","test:all":"npm run test:lint && npm run test","posttest":"tap --coverage-report=lcov | codecov","build":"webpack && ./tasks/write-banner","build:min":"webpack && uglifyjs dist/parse-price.js -c -m -o dist/parse-price.min.js && ./tasks/write-banner","build:all":"npm run build && npm run build:min","preversion":"npm run test:all","version":"npm run build:all && git add dist/"},"repository":{"type":"git","url":"git+https://github.com/caiogondim/parse-price.js.git"},"keywords":["parse","number","localization","price","i10n","i18n","internationalization"],"author":{"name":"Caio Gondim"},"license":"MIT","bugs":{"url":"https://github.com/caiogondim/parse-price.js/issues"},"homepage":"https://github.com/caiogondim/parse-price.js#readme","devDependencies":{"codecov":"^1.0.1","covert":"^1.1.0","standard":"^7.1.2","tap":"^6.3.0","uglify-js":"^2.7.0","webpack":"^1.13.1"},"gitHead":"4ceb1f08105d4132f2b877c53602097337e1d816","_id":"parse-price@1.1.3","_shasum":"77488e3cbc573ba7495294cf98b70155278c6b06","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"caiogondim","email":"me@caiogondim.com"},"maintainers":[{"name":"caiogondim","email":"me@caiogondim.com"}],"dist":{"shasum":"77488e3cbc573ba7495294cf98b70155278c6b06","tarball":"https://registry.npmjs.org/parse-price/-/parse-price-1.1.3.tgz","integrity":"sha512-AK4kSiBog5iSpr1bIunXajEVjV6H/UgsNTeCmoZY9xLNV0l4vIRo7M2fzOTUDZ2laIUgqcnQ+CVVgzcJg+aMsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8OjQ/bpDkVg34RpXLUtWdiCryjT2lZ9QYOoJQIoZjxAiEA00foiRb6FG1bDE0ex1eUXMVCGs4QY0alrU6Vgx/j/Wg="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/parse-price-1.1.3.tgz_1470252347043_0.8750628174748272"}},"1.1.4":{"name":"parse-price","version":"1.1.4","description":"returns a Number from a localized price string","main":"src/index.js","directories":{"test":"test"},"scripts":{"test":"tap test/index.js --cov","test:types":"tsc --allowJs --checkJs --noEmit src/*.js","test:lint":"standard 'src/**/*.js' 'test/**/*.js'","test:lint:fix":"standard --fix 'src/**/*.js' 'test/**/*.js'","test:all":"npm run test:lint && npm run test && npm run test:types","posttest":"tap --coverage-report=lcov | codecov","build":"webpack && ./tasks/write-banner","build:min":"webpack && uglifyjs dist/parse-price.js -c -m -o dist/parse-price.min.js && ./tasks/write-banner","build:all":"npm run build && npm run build:min","preversion":"npm run test:all","version":"npm run build:all && git add dist/"},"repository":{"type":"git","url":"git+https://github.com/caiogondim/parse-price.js.git"},"keywords":["parse","number","localization","price","i10n","i18n","internationalization"],"author":{"name":"Caio Gondim"},"license":"MIT","bugs":{"url":"https://github.com/caiogondim/parse-price.js/issues"},"homepage":"https://github.com/caiogondim/parse-price.js#readme","devDependencies":{"@types/node":"8.0.34","codecov":"^1.0.1","covert":"^1.1.0","standard":"^7.1.2","tap":"^6.3.0","typescript":"2.5.3","uglify-js":"^2.7.0","webpack":"^1.13.1"},"gitHead":"d51b570437f31e0c7fc00c1a69ede9a30dcc2f2f","_id":"parse-price@1.1.4","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"caiogondim","email":"me@caiogondim.com"},"dist":{"integrity":"sha512-/yjymbXB/AFa/wdzNsDDh2PIhFMU4g8IF7pyOCCMyzqNTtAGc3leS5RNTOesSZmd4syeQGyeI9dxVBaNtRa8Rw==","shasum":"347a7d6c8e5b9b98de874c6a08cf1156813377f8","tarball":"https://registry.npmjs.org/parse-price/-/parse-price-1.1.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTC8QF9kmKbTf4REs+1G//BeVk/g7b6uMP8oxV75bYFwIgayB+sVxml11E3l0h9/ZeSgbYNg4EfR+crg00vr0ATRY="}]},"maintainers":[{"name":"caiogondim","email":"me@caiogondim.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-price-1.1.4.tgz_1510806712504_0.13059461046941578"}},"1.1.5":{"name":"parse-price","version":"1.1.5","description":"returns a Number from a localized price string","main":"src/index.js","directories":{"test":"test"},"scripts":{"test:types":"tsc --allowJs --checkJs --noEmit src/*.js","test:lint":"standard 'src/**/*.js' 'test/**/*.js'","test:lint:fix":"standard --fix 'src/**/*.js' 'test/**/*.js'","test":"tap test/index.js --cov && npm run test:lint && npm run test:types","build":"webpack && ./tasks/write-banner","build:min":"webpack && uglifyjs dist/parse-price.js -c -m -o dist/parse-price.min.js && ./tasks/write-banner","build:all":"npm run build && npm run build:min","preversion":"npm run test","version":"npm run build:all && git add dist/"},"repository":{"type":"git","url":"git+https://github.com/caiogondim/parse-price.js.git"},"keywords":["parse","number","localization","price","i10n","i18n","internationalization"],"author":{"name":"Caio Gondim"},"license":"MIT","bugs":{"url":"https://github.com/caiogondim/parse-price.js/issues"},"homepage":"https://github.com/caiogondim/parse-price.js#readme","devDependencies":{"@types/node":"8.0.34","codecov":"^1.0.1","covert":"^1.1.0","standard":"^7.1.2","tap":"^6.3.0","typescript":"2.5.3","uglify-js":"^2.7.0","webpack":"^1.13.1"},"gitHead":"3fcf37f193ca4807aff23a587f78f6b40dac47b9","_id":"parse-price@1.1.5","_npmVersion":"5.6.0","_nodeVersion":"8.9.0","_npmUser":{"name":"caiogondim","email":"me@caiogondim.com"},"dist":{"integrity":"sha512-RgOLrsd1/dfpzaOLhaCJwTOtN+HeULC/SGpMEJ/6fPdwYAFtjDjU2OC3g7omsywz0E+IZLqmwbY0DwOByQpj3g==","shasum":"7c7c850d5a8015d6e69afac962432611368fb872","tarball":"https://registry.npmjs.org/parse-price/-/parse-price-1.1.5.tgz","fileCount":13,"unpackedSize":15880,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHmzufbLZzBzUOtN8Ur5K/LcjqN6BaOp7+5oVWfCSw/AIgWO8msWPrcO6I79XwwNHv/0OwrrkzU3tN/BtKgTspvNw="}]},"maintainers":[{"name":"caiogondim","email":"me@caiogondim.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-price_1.1.5_1519403946655_0.5787432177267975"},"_hasShrinkwrap":false},"1.1.6":{"name":"parse-price","version":"1.1.6","description":"returns a Number from a localized price string","main":"src/index.js","directories":{"test":"test"},"scripts":{"test:types":"tsc --allowJs --checkJs --noEmit src/*.js","test:lint":"standard 'src/**/*.js' 'test/**/*.js'","test:lint:fix":"standard --fix 'src/**/*.js' 'test/**/*.js'","test":"tap test/index.js --cov && npm run test:lint && npm run test:types","build":"webpack && ./tasks/write-banner","build:min":"webpack && uglifyjs dist/parse-price.js -c -m -o dist/parse-price.min.js && ./tasks/write-banner","build:all":"npm run build && npm run build:min","preversion":"npm run test","version":"npm run build:all && git add dist/"},"repository":{"type":"git","url":"git+https://github.com/caiogondim/parse-price.js.git"},"keywords":["parse","number","localization","price","i10n","i18n","internationalization"],"author":{"name":"Caio Gondim"},"license":"MIT","bugs":{"url":"https://github.com/caiogondim/parse-price.js/issues"},"homepage":"https://github.com/caiogondim/parse-price.js#readme","devDependencies":{"@types/node":"8.0.34","codecov":"^1.0.1","covert":"^1.1.0","standard":"^7.1.2","tap":"^6.3.0","typescript":"2.5.3","uglify-js":"^2.7.0","webpack":"^1.13.1"},"gitHead":"cd5ca2b060a2f16ad4a059aabfa96374e7ec4d2f","_id":"parse-price@1.1.6","_npmVersion":"5.6.0","_nodeVersion":"8.9.0","_npmUser":{"name":"caiogondim","email":"me@caiogondim.com"},"dist":{"integrity":"sha512-zVK6Qh9qpFjfE1Fayv/GQTAAD0yuVUutodhuDc/7SYGNsfRsdiR5JBoeG4OJMl/ZYYyrQeGw/cuRxbz7AKyZGw==","shasum":"d1d27ddf7a8455153d9b45cf2635c3a26bc5087a","tarball":"https://registry.npmjs.org/parse-price/-/parse-price-1.1.6.tgz","fileCount":13,"unpackedSize":15880,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHNhtSUaZeVW78WpqxBWurS8z7EbgMoCHIibAB8dvlUAiEA4KzEVRm3xtj9QxsV3FD2RpnV5R/XoOvQbp888f6fuUU="}]},"maintainers":[{"name":"caiogondim","email":"me@caiogondim.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-price_1.1.6_1519404183084_0.26114071659863214"},"_hasShrinkwrap":false},"1.1.8":{"name":"parse-price","version":"1.1.8","description":"returns a Number from a localized price string","main":"src/index.js","directories":{"test":"test"},"scripts":{"test:types":"tsc --allowJs --checkJs --noEmit src/*.js","test:lint":"standard 'src/**/*.js' 'test/**/*.js'","test:lint:fix":"standard --fix 'src/**/*.js' 'test/**/*.js'","test":"tap test/index.js --cov && npm run test:lint && npm run test:types","build":"webpack && ./tasks/write-banner","build:min":"webpack && uglifyjs dist/parse-price.js -c -m -o dist/parse-price.min.js && ./tasks/write-banner","build:all":"npm run build && npm run build:min","preversion":"npm run test","version":"npm run build:all && git add dist/"},"repository":{"type":"git","url":"git+https://github.com/caiogondim/parse-price.js.git"},"keywords":["parse","number","localization","price","i10n","i18n","internationalization"],"author":{"name":"Caio Gondim"},"license":"MIT","bugs":{"url":"https://github.com/caiogondim/parse-price.js/issues"},"homepage":"https://github.com/caiogondim/parse-price.js#readme","devDependencies":{"@types/node":"8.0.34","codecov":"^1.0.1","covert":"^1.1.0","standard":"^7.1.2","tap":"^6.3.0","typescript":"2.5.3","uglify-js":"^2.7.0","webpack":"^1.13.1"},"gitHead":"79249f19a9fcd2071c0c5734cf4ab069d385354b","_id":"parse-price@1.1.8","_npmVersion":"5.6.0","_nodeVersion":"8.9.0","_npmUser":{"name":"caiogondim","email":"me@caiogondim.com"},"dist":{"integrity":"sha512-KqMupWq7vTMNfKYvyvHKcBE7tKrY7kL3T/bKxfAHT/5mW2MYsa4xeTiiohGt7tkh2YCHAsyKxcOgE0k0lbUfGA==","shasum":"f1cbbc38a5747bb0538365ba4e8ddc0296e5f36f","tarball":"https://registry.npmjs.org/parse-price/-/parse-price-1.1.8.tgz","fileCount":13,"unpackedSize":16576,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB6ddSatABcoowVnddm5Rr/iv5bUhBHRt54cRUDZ0B3VAiEAk8eyQGx/klRHbBMRDruhBvcRRHEDfCkO1PDqulIDmTg="}]},"maintainers":[{"name":"caiogondim","email":"me@caiogondim.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parse-price_1.1.8_1522260731254_0.33921664456086176"},"_hasShrinkwrap":false}},"readme":"<img src=\"http://rawgit.com/caiogondim/parse-price.js/master/logo/banner.svg\">\n\n# parse-price\n<img src=\"http://travis-ci.org/caiogondim/parse-price.js.svg?branch=master\" alt=\"Travis CI\"> [![codecov](https://codecov.io/gh/caiogondim/parse-price.js/branch/master/graph/badge.svg)](https://codecov.io/gh/caiogondim/parse-price.js) <img src=\"https://david-dm.org/caiogondim/parse-price.js/status.svg\" alt=\"dependencies status\"> <img src=\"http://img.badgesize.io/caiogondim/parse-price.js/master/dist/parse-price.min.js?compression=gzip\" alt=\"lib size\">\n\nReturns a `Number` from a localized price string.\n\n\n## Installation\n\n```shell\nnpm install --save parse-price\n```\n\n## Usage\n\nReceives a string (price) as input and returns a `Number` (or `NaN`) as output.\n\n```js\nvar parsePrice = require('parse-price')\n\nparsePrice('€1.234,56') // => 1234.56\nparsePrice('US$ 1.234,56') // => 1234.56\nparsePrice('£1,234.56') // => 1234.56\nparsePrice('R$1.234,56') // => 1234.56\nparsePrice('1 234,56 руб') // => 1234.56\nparsePrice('1,234.56 ₪') // => 1234.56\n```\n\n---\n\n[caiogondim.com](https://caiogondim.com) &nbsp;&middot;&nbsp;\nGitHub [@caiogondim](https://github.com/caiogondim) &nbsp;&middot;&nbsp;\nTwitter [@caio_gondim](https://twitter.com/caio_gondim)\n","maintainers":[{"name":"caiogondim","email":"me@caiogondim.com"}],"time":{"modified":"2022-06-23T10:57:37.276Z","created":"2016-08-02T13:36:54.995Z","1.0.0":"2016-08-02T13:36:54.995Z","1.1.0":"2016-08-03T19:19:22.900Z","1.1.2":"2016-08-03T19:22:53.754Z","1.1.3":"2016-08-03T19:25:48.938Z","1.1.4":"2017-11-16T04:31:53.560Z","1.1.5":"2018-02-23T16:39:06.738Z","1.1.6":"2018-02-23T16:43:03.143Z","1.1.8":"2018-03-28T18:12:11.306Z"},"homepage":"https://github.com/caiogondim/parse-price.js#readme","keywords":["parse","number","localization","price","i10n","i18n","internationalization"],"repository":{"type":"git","url":"git+https://github.com/caiogondim/parse-price.js.git"},"author":{"name":"Caio Gondim"},"bugs":{"url":"https://github.com/caiogondim/parse-price.js/issues"},"license":"MIT","readmeFilename":"readme.md"}