An open API service indexing awesome lists of open source software.

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

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!