All Projects → sindresorhus → path-is-absolute

sindresorhus / path-is-absolute

Licence: MIT license
Node.js 0.12 path.isAbsolute() ponyfill

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to path-is-absolute

biggus
⛔ [DEPRECATED] Virtual large arrays and lazy evaluation.
Stars: ✭ 56 (+43.59%)
Mutual labels:  deprecated
rocketnative-sublime-snippets
[DEPRECATED] Rocketseat React Native snippets for Sublime Text Editor
Stars: ✭ 16 (-58.97%)
Mutual labels:  deprecated
aws-chaos-scripts
DEPRECATED Collection of python scripts to run failure injection on AWS infrastructure
Stars: ✭ 91 (+133.33%)
Mutual labels:  deprecated
gulp-styl
Preprocess CSS with Styl
Stars: ✭ 21 (-46.15%)
Mutual labels:  deprecated
HTTPClient.jl
DEPRECATED, USE HTTP.jl INSTEAD
Stars: ✭ 17 (-56.41%)
Mutual labels:  deprecated
laravel-localization-route-cache
Translated Route Caching Solution for Laravel Localization
Stars: ✭ 49 (+25.64%)
Mutual labels:  deprecated
npmlint
[DEPRECATED] Lint your npm package
Stars: ✭ 57 (+46.15%)
Mutual labels:  deprecated
perfectum
A set of tools for working with project performance
Stars: ✭ 43 (+10.26%)
Mutual labels:  deprecated
varnish-geoip-plugin
GeoIP plugin for Varnish
Stars: ✭ 18 (-53.85%)
Mutual labels:  deprecated
dcos-launch
Turn-key deployments of DC/OS on AWS (template and onprem), Azure, and GCE
Stars: ✭ 16 (-58.97%)
Mutual labels:  deprecated
DeepDIVA
⛔️ DEPRECATED <Python Framework for Reproducible Deep Learning Experiments>
Stars: ✭ 32 (-17.95%)
Mutual labels:  deprecated
tooltip
[DEPRECATED] The tooltip that has all the right moves
Stars: ✭ 133 (+241.03%)
Mutual labels:  deprecated
gulp-recess
[DEPRECATED] Lint CSS and LESS with RECESS
Stars: ✭ 42 (+7.69%)
Mutual labels:  deprecated
Optimizely-iOS-SDK
Optimizely Classic iOS SDK. For Optimizely X Mobile go here:
Stars: ✭ 31 (-20.51%)
Mutual labels:  deprecated
opentab
开源的轻应用后端(Open Tiny App Backend),轻量,高效,易部署。
Stars: ✭ 27 (-30.77%)
Mutual labels:  deprecated
summit2016-RankingPredict
Deprecated, No more maintained - Deprecated, no longer maintained
Stars: ✭ 34 (-12.82%)
Mutual labels:  deprecated
open-pos
Open Source Point of Sale System.
Stars: ✭ 52 (+33.33%)
Mutual labels:  deprecated
rok4
ROK4 est une suite d'outils open source développée par l'IGN France permettant la diffusion de données raster et vecteur en WMS, WMTS ou TMS. DEPRECATED ! Projet maintenu ici : https://github.com/rok4/documentation
Stars: ✭ 18 (-53.85%)
Mutual labels:  deprecated
ionic-3D-card-carousel
DEPRECATED Sample project that shows an experimental 3D card carousel in Ionic.
Stars: ✭ 29 (-25.64%)
Mutual labels:  deprecated
react-native-aws-mobile-analytics
A react-native module for using Amazon's AWS Mobile Analytics with the aws-sdk
Stars: ✭ 16 (-58.97%)
Mutual labels:  deprecated

Deprecated

This package is no longer relevant as Node.js 0.12 is unmaintained.


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.


Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].