Norse Polytheistic Mythology

    htaccess-parser

    0.1.0 • Public • Published

    htaccess-parser

    npm version Travis Coverage Status

    An .htaccess rewrite rules parser.

    Used by the express-htaccess-middleware module to rewrite URLs.

    Installation

    npm i htaccess-parser

    Usage

    var path = require('path');
    var htaccessParser = require('htaccess-parser');
     
    htaccessParser({
      file: path.resolve(__dirname, '.htaccess')
    }, 
    function(err, parsedFile) {
      console.log(parsedFile);
    });

    Install

    npm i htaccess-parser

    DownloadsWeekly Downloads

    88

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • rundef