twitter-url-parser

0.0.1 • Public • Published

twitter-url-parser

Extracts some information from a Twitter status URL. This currently only gets the status id, but please extend if you need more! :)

Example

var parse = require('twitter-url-parser');
 
var result = parse('https://twitter.com/prhonedev/statuses/315586729463660545?utm_medium=twitter&utm_source=twitterfeed');
 
console.log(result);
 
// output: { id: '315586729463660545' }

Installation

npm install twitter-url-parser

Readme

Keywords

Package Sidebar

Install

npm i twitter-url-parser

Weekly Downloads

47

Version

0.0.1

License

MIT

Last publish

Collaborators

  • graemef