https://github.com/eldoy/ekstrakt
Extracts things from strings
https://github.com/eldoy/ekstrakt
Last synced: 11 months ago
JSON representation
Extracts things from strings
- Host: GitHub
- URL: https://github.com/eldoy/ekstrakt
- Owner: eldoy
- Created: 2021-05-17T00:59:53.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-29T00:26:12.000Z (about 5 years ago)
- Last Synced: 2025-02-22T19:25:02.338Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 58.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ekstrakt
Extract things from strings.
### Install
```
npm i ekstrakt
```
### Usage
```js
const extract = require('ekstrakt')
const emails = extract.emails('string with mail@example.com')
// Returns: ['mail@example.com']
const email = extract.email('Mail ')
// Returns: ['Mail', 'mail@example.com']
```
ISC licensed. Enjoy!