
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
vorlefan.path_route
Advanced tools
This is my first npm package module. The main function is to give the power of easily accessing the folders and files of your project.
With npm do:
npm install vorlefan.path_route
With yarn do:
yarn add vorlefan.path_route
You can access on the folder 'docs' of this repository A better documentation will be made at the near future.
Please, take a look at the 'example' folder of this repository
'use strict';
/**
* @description Basic usage of this module.
* This will take at account this folder (module folder),
* as example.
*/
const {
Routes,
Route
} = require('../index')
// Create a new route instance and give it a name
Routes.instance((instance) => {
instance.set('src', instance.resolve(__dirname, '..'))
instance.join('test', 'src')
instance.join('examples', 'src')
}).namespace("Basic")
// Access
console.log(Route.Basic.get('test'));
console.log(Route.Basic.get('examples').path);
FAQs
Easily access and manage the folder and files of your project
We found that vorlefan.path_route demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.