Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

route-node

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

route-node - npm Package Compare versions

Comparing version 0.0.8 to 0.1.0

4

package.json
{
"name": "route-node",
"version": "0.0.8",
"version": "0.1.0",
"description": "A package to create a tree of named routes#",

@@ -35,4 +35,4 @@ "main": "dist/commonjs/route-node.js",

"dependencies": {
"path-parser": "~0.0.7"
"path-parser": "~0.1.0"
}
}

@@ -29,7 +29,7 @@ [![npm version](https://badge.fury.io/js/route-node.svg)](http://badge.fury.io/js/route-node)

// You can also use plain objects
var ordersNode = new RouteNode('orders', '/orders', [
new RouteNode('pending', '/pending'),
// You can also use plain objects
{name: 'pending', path: '/pending'},
{name: 'completed', path: '/completed'},
new RouteNode('view', '/view/:id')
{name: 'view', path: '/view/:id'}
]);

@@ -36,0 +36,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc