embedly-url
v1.0.0
Published
Extract properties from an embedly url
Downloads
816
Readme
embedly-url
Extract properties from an embedly url
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install embedly-url --save
Usage
var embedlyUrl = require("embedly-url");
console.log(embedlyUrl.parse('//cdn.embedly.com/widgets/media.html?src=http%3A%2F%2Fwww.youtube.com%2Fembed%2F3rS6mZUo3fg%3Ffeature%3Doembed&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D3rS6mZUo3fg&image=http%3A%2F%2Fi.ytimg.com%2Fvi%2F3rS6mZUo3fg%2Fhqdefault.jpg&key=25bf3602073943478e54668402a4f5a8&type=text%2Fhtml&schema=youtube'));
Tests
npm install
npm test
Dependencies
- he: A robust HTML entities encoder/decoder with full Unicode support.
Dev Dependencies
- package-json-to-readme: Generate a README.md from package.json contents
- semistandard: All the goodness of
feross/standard
with semicolons sprinkled on top. - snazzy: Format JavaScript Standard Style as Stylish (i.e. snazzy) output
- tape: tap-producing test harness for node and browsers
License
MIT
Generated by package-json-to-readme