@zce/oembed-parser
v0.1.0
Published
Get oEmbed data from given URL.
Downloads
1
Readme
oembed-parser
Get oEmbed data from given URL.
Installation
$ yarn add oembed-parser
# or npm
$ npm install oembed-parser
Usage
const oembedParser = require('oembed-parser')
const result = oembedParser('zce')
// result => '[email protected]'
API
oembedParser(name[, options])
name
- Type:
string
- Details: name string
options
host
- Type:
string
- Details: host string
- Default:
'zce.me'
CLI Usage
$ yarn global add oembed-parser
# or npm
$ npm install oembed-parser -g
$ oembed-parser --help
Usage: oembed-parser <input>
Options:
-V, --version output the version number
-H, --host Email host
-h, --help output usage information
Contributing
- Fork it on GitHub!
- Clone the fork to your own machine.
- Checkout your feature branch:
git checkout -b my-awesome-feature
- Commit your changes to your own branch:
git commit -am 'Add some feature'
- Push your work back up to your fork:
git push -u origin my-awesome-feature
- Submit a Pull Request so that we can review your changes.
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
License
MIT © zce [email protected] (https://zce.me/)