parse-github-short-urls
DEPRECATED? Parse a string of github/npm shorthands into an array of parse-github-short-url objects.
DEPRECATED, not use it. The v2
is just empty function - noop.
You may be interested in:
- limon - pluggable lexer.
- parse-function - based on acorn, support parsing ES2015/2016 functions.
- parse-semver - seems much like this one.
- postjson - transforming JSON with plugins, may play as post- and pre-processor.
Install
npm i parse-github-short-urls --save
Usage
For more use-cases see the tests
const parseGithubShortUrls =
Related
- limon: The pluggable JavaScript lexer on per character basis. | homepage
- limon-prev-next: Plugin for limon pluggable lexer that adds
prev
andnext
methods. | homepage - parse-arguments: Parse function to object with same key names as arguments names and… more | homepage
- parse-function: Parse a function, arrow function or string to object with name, args,… more | homepage
- parse-github-short-url: Parse a github/npm shorthand (user/repo#branch or user/repo@version) URL into an object. | homepage
- parse-github-url: Parse a github URL into an object. | homepage
- parse-semver: Parse, normalize and validate given semver shorthand (e.g. gulp@v3.8.10) to object. | homepage
- postjson: Transforming JSON with plugins. | homepage
- stringify-github-short-url: Generate Github / npm shorthand from list of arguments or object. | homepage
- stringify-github-url: Generate a GitHub URL from an object. | homepage
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.