1.1.42 ā€¢ Published 6 months ago

extra-path.web v1.1.42

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
6 months ago

Useful additions to inbuilt path module. šŸ“¦ Node.js, šŸŒ Web, šŸ“œ Files, šŸ“° Docs, šŸ“˜ Wiki.

This package is available in Node.js and Web formats. To use it on the web, simply use the extra_path global variable after loading with a <script> tag from the jsDelivr CDN.

Stability: Experimental.

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

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

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

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

Index

PropertyDescription
filenameGet file name without extension.
symbolnameGet symbol name for file.
keywordnameGet keyword name for file.

npm.io ORG DOI Coverage Status Test Coverage Maintainability

1.1.42

6 months ago

1.1.41

1 year ago

1.1.40

1 year ago

1.1.39

1 year ago

1.1.34

1 year ago

1.1.33

1 year ago

1.1.38

1 year ago

1.1.37

1 year ago

1.1.36

1 year ago

1.1.35

1 year ago

1.1.32

2 years ago

1.1.31

2 years ago

1.1.29

2 years ago

1.1.28

2 years ago

1.1.30

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.23

2 years ago

1.1.22

2 years ago

1.1.21

2 years ago

1.1.20

2 years ago

1.1.27

2 years ago

1.1.26

2 years ago

1.1.25

2 years ago

1.1.24

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago