Socket
Socket
Sign inDemoInstall

isitforme

Package Overview
Dependencies
17
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    isitforme

Advanced route parser, uses an highly performant Tree route structure algorithms.


Version published
Weekly downloads
2
Maintainers
1
Install size
1.19 MB
Created
Weekly downloads
 

Readme

Source

isitforme

Advanced router, uses an highly performant Tree route structure algorithms.

NPM Build Status Coverage Status NPM Download Dependencies Status

What is this?

The "tree" defines a series of hierarchical nodes with children to optimise the search method.

For example, the routes:

/api/users
/api/user/:id
/api/user/:id/tasks
/api/user/:id/validate

defines a tree that looks like

               api
             /     \
          users    user
                 /     \
             validate  :id
                      /    \   
                validate   tasks

Installation

npm install isitforme --save

Test

To run our tests, clone the isitforme repo and install the dependencies.

$ git clone https://github.com/BenoitClaveau/isitforme --depth 1
$ cd isitforme
$ npm install
$ cd tests
$ node.exe "../node_modules/mocha/bin/mocha" .

Keywords

FAQs

Last updated on 19 Jan 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc