extra-markdown-text 0.0.4
Install from the command line:
Learn more about npm packages
$ npm install @nodef/extra-markdown-text@0.0.4
Install via package.json:
"@nodef/extra-markdown-text": "0.0.4"
About this version
Utility methods for Markdown text.
π¦ Node.js,
π Web,
π Files,
π° Docs.
This package is available in both Node.js and Web formats. The web format
is exposed as extra_markdown_text
standalone variable and can be loaded from
jsDelivr CDN.
Stability: Experimental.
const path = require('extra-markdown-text');
function main() {
path.filename('/home/user/file+name.txt');
// β file+name
path.symbolname('/home/user/file+name.txt');
// β file_name
path.symbolname('/home/user/file+name.txt');
// β file-name
}
main();
Property | Description |
---|---|
filename | Get file name without extension. |
symbolname | Get symbol name for file. |
keywordname | Get keyword name for file. |