tum/network_report_server/commit/30f7226d9aa1b14561d48e5309f57e811e38322f">30f7226d9a first commit лет назад: 2 strip-ansi 30f7226d9a first commit лет назад: 2 sucrase 30f7226d9a first commit лет назад: 2 supports-preserve-symlinks-flag 30f7226d9a first commit лет назад: 2 tailwind-color-palette 30f7226d9a first commit лет назад: 2 tailwindcss 30f7226d9a first commit лет назад: 2 thenify 30f7226d9a first commit лет назад: 2 thenify-all 30f7226d9a first commit лет назад: 2 to-regex-range 30f7226d9a first commit лет назад: 2 tr46 30f7226d9a first commit лет назад: 2 ts-interface-checker 30f7226d9a first commit лет назад: 2 uglify-js 30f7226d9a first commit лет назад: 2 underscore 30f7226d9a first commit лет назад: 2 upper-case 30f7226d9a first commit лет назад: 2 util-deprecate 30f7226d9a first commit лет назад: 2 valid-data-url 30f7226d9a first commit лет назад: 2 web-resource-inliner 30f7226d9a first commit лет назад: 2 webidl-conversions 30f7226d9a first commit лет назад: 2 whatwg-url 30f7226d9a first commit лет назад: 2 wrap-ansi 30f7226d9a first commit лет назад: 2 wrappy 30f7226d9a first commit лет назад: 2 y18n 30f7226d9a first commit лет назад: 2 yallist 30f7226d9a first commit лет назад: 2 yaml 30f7226d9a first commit лет назад: 2 yargs 30f7226d9a first commit лет назад: 2 yargs-parser 30f7226d9a first commit лет назад: 2 .yarn-integrity 30f7226d9a first commit лет назад: 2 tum/network_report_server - Gogs: Simplico Git Service

暂无描述

tum 30f7226d9a first commit 2 年之前
..
index.js 30f7226d9a first commit 2 年之前
license 30f7226d9a first commit 2 年之前
package.json 30f7226d9a first commit 2 年之前
readme.md 30f7226d9a first commit 2 年之前

readme.md

path-is-absolute Build Status

Node.js 0.12 path.isAbsolute() ponyfill

Install

$ npm install --save path-is-absolute

Usage

const pathIsAbsolute = require('path-is-absolute');

// Running on Linux
pathIsAbsolute('/home/foo');
//=> true
pathIsAbsolute('C:/Users/foo');
//=> false

// Running on Windows
pathIsAbsolute('C:/Users/foo');
//=> true
pathIsAbsolute('/home/foo');
//=> false

// Running on any OS
pathIsAbsolute.posix('/home/foo');
//=> true
pathIsAbsolute.posix('C:/Users/foo');
//=> false
pathIsAbsolute.win32('C:/Users/foo');
//=> true
pathIsAbsolute.win32('/home/foo');
//=> false

API

See the path.isAbsolute() docs.

pathIsAbsolute(path)

pathIsAbsolute.posix(path)

POSIX specific version.

pathIsAbsolute.win32(path)

Windows specific version.

License

MIT © Sindre Sorhus