Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

numbers-in-string

joaquimnet6MIT1.0.0TypeScript support: included

Extract numbers from a string.

numbers, string, extract

readme

Welcome to numbers-in-string 👋

Version Documentation Maintenance License: MIT

Extract numbers from a string.

Install

npm install numbers-in-string

Usage

numbers('I have 25 sandwiches and 8 sodas. It cost me $44.30.'); // -> [25, 8, 44.3]

Run tests

npm test

Author

👤 Joaquim Neto joaquimmy@yahoo.com

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Joaquim Neto <joaquimmy@yahoo.com>.
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

changelog

V1.0.0

  • First version released.