Skip to content

extra-path 1.1.23

Install from the command line:
Learn more about npm packages
$ npm install @nodef/extra-path@1.1.23
Install via package.json:
"@nodef/extra-path": "1.1.23"

About this version

Useful additions to inbuilt path module.
πŸ“¦ Node.js, 🌐 Web, πŸ“œ Files, πŸ“° Docs.

This package is available in both Node.js and Web formats. The web format is exposed as extra_path standalone variable and can be loaded from jsDelivr CDN.

Stability: Experimental.


const path = require('extra-path');

function main() {
  path.filename('/home/user/file+name.txt');
  // β†’ file+name

  path.symbolname('/home/user/file+name.txt');
  // β†’ file_name

  path.keywordname('/home/user/file+name.txt');
  // β†’ file-name
}
main();


Index

Property Description
filename Get file name without extension.
symbolname Get symbol name for file.
keywordname Get keyword name for file.



Coverage Status Test Coverage Maintainability

Details


Assets

  • extra-path-1.1.23-npm.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0