Non-Permeable Membrane

    stattic-parseurl

    0.1.0 • Public • Published

    stattic-parseurl

    npm npm

    Parse an url. Made for stattic tool.

    Example of use:

    //Import
    var ParseUrl = require('stattic-parseurl');
     
    //Check
    var url = ParseUrl('this/is/a/link.php?id=2&value=Hello#GO');
     
    /* Returns:
    { path: 'this/is/a/link.php',
      file: 'link.php',
      ext: 'php',
      query: { id: '2', value: 'Hello' },
      hashtag: 'GO' }
    */

    Install

    npm i stattic-parseurl

    DownloadsWeekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • jmjuanes