Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Node.js path.parse() ponyfill

License

NotificationsYou must be signed in to change notification settings

jbgutierrez/path-parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.jspath.parse(pathString)ponyfill.

Install

$ npm install --save path-parse

Usage

varpathParse=require('path-parse');pathParse('/home/user/dir/file.txt');//=> {//       root : "/",//       dir : "/home/user/dir",//       base : "file.txt",//       ext : ".txt",//       name : "file"//   }

API

Seepath.parse(pathString) docs.

pathParse(path)

pathParse.posix(path)

The Posix specific version.

pathParse.win32(path)

The Windows specific version.

License

MIT ©Javier Blanco

About

Node.js path.parse() ponyfill

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp