snowyu / path.js

Browser-friendly enhanced path fully compatible with standard node.js path

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

path.js Build Status npm downloads license

Browser-friendly enhanced path fully compatible with standard node.js path

This package modifies and enhances the standard path from node.js

API

  • path = require('path.js') : return the Windows or UNIX/POSIX path object for your file system automatically.
  • path = require('path.js/lib/path').path: return the abstract POSIX path object.
  • path = require('path.js/lib/win'): the widnows path object.
  • path = require('path.js/lib/posix'): the posix path object.
  • PathClass = require('path.js/lib/path'): the abstract POSIX path class.

usage

About

Browser-friendly enhanced path fully compatible with standard node.js path

License:MIT License


Languages

Language:CoffeeScript 99.9%Language:JavaScript 0.1%