【文件属性】:
文件名称:strip-path:从路径中剥离路径
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-26 08:08:31
JavaScript
条带路径
从路径中剥离路径
安装
$ npm install --save strip-path
用法
var stripPath = require ( 'strip-path' ) ;
stripPath ( 'path1/path2/path3/path4' , 'path1/path2' ) ;
//=> 'path3/path4'
原料药
stripPath(路径,stripPath)
小路
必需的类型: string
剥离的路径。
stripPath
必需的类型: string
从path剥离的path 。
执照
麻省理工学院:copyright:
【文件预览】:
strip-path-main
----.gitignore(13B)
----.github()
--------workflows()
----.gitattributes(12B)
----.jshintrc(190B)
----package.json(581B)
----readme.md(478B)
----index.js(424B)
----test.js(927B)
----.editorconfig(223B)
----license(1KB)