├── .README └── README.md ├── .babelrc ├── .editorconfig ├── .eslintrc ├── .flowconfig ├── .gitignore ├── .npmignore ├── .travis.yml ├── LICENSE ├── README.md ├── package.json ├── src ├── Logger.js ├── index.js └── utilities │ ├── extractPrice.js │ ├── isCommaCentSeparatorNotation.js │ ├── isDotCentSeparatorNotation.js │ ├── matchLongestAtLowest.js │ ├── normalizeInput.js │ └── parsePrice.js └── test ├── .eslintrc └── extract-price └── utilities ├── extractPrice ├── extracts-currency-code.js ├── extracts-currency-symbol.js └── extracts-price.js ├── matchLongestAtLowest.js ├── normalizeInput.js └── parsePrice.js /.README/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/.README/README.md -------------------------------------------------------------------------------- /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/.babelrc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/.eslintrc -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/.flowconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | test 2 | coverage 3 | .* 4 | *.log 5 | !.flowconfig 6 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/package.json -------------------------------------------------------------------------------- /src/Logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/src/Logger.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/src/index.js -------------------------------------------------------------------------------- /src/utilities/extractPrice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/src/utilities/extractPrice.js -------------------------------------------------------------------------------- /src/utilities/isCommaCentSeparatorNotation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/src/utilities/isCommaCentSeparatorNotation.js -------------------------------------------------------------------------------- /src/utilities/isDotCentSeparatorNotation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/src/utilities/isDotCentSeparatorNotation.js -------------------------------------------------------------------------------- /src/utilities/matchLongestAtLowest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/src/utilities/matchLongestAtLowest.js -------------------------------------------------------------------------------- /src/utilities/normalizeInput.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/src/utilities/normalizeInput.js -------------------------------------------------------------------------------- /src/utilities/parsePrice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/src/utilities/parsePrice.js -------------------------------------------------------------------------------- /test/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/test/.eslintrc -------------------------------------------------------------------------------- /test/extract-price/utilities/extractPrice/extracts-currency-code.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/test/extract-price/utilities/extractPrice/extracts-currency-code.js -------------------------------------------------------------------------------- /test/extract-price/utilities/extractPrice/extracts-currency-symbol.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/test/extract-price/utilities/extractPrice/extracts-currency-symbol.js -------------------------------------------------------------------------------- /test/extract-price/utilities/extractPrice/extracts-price.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/test/extract-price/utilities/extractPrice/extracts-price.js -------------------------------------------------------------------------------- /test/extract-price/utilities/matchLongestAtLowest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/test/extract-price/utilities/matchLongestAtLowest.js -------------------------------------------------------------------------------- /test/extract-price/utilities/normalizeInput.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/test/extract-price/utilities/normalizeInput.js -------------------------------------------------------------------------------- /test/extract-price/utilities/parsePrice.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gajus/extract-price/HEAD/test/extract-price/utilities/parsePrice.js --------------------------------------------------------------------------------