fs-posix

6.0.0 • Public • Published

fs-posix

NPM version Travis AppVeyor Codecov David

Add cross-platform path support for Node file system.

Why

Install

npm install --save fs-posix

Usage

require("fs-posix");              // Must load before `fs-extra`
const fs = require("fs");
fs.readFileSync("~/.npmrc");      // Returns the contents of `.npmrc` in home folder
fs.readFileSync("/etc/hosts");    // Returns the contents of `hosts` in etc folder
fs.readFileSync("/tmp/test.log")  // Returns the contents of `test.log` in temp folder

/fs-posix/

    Package Sidebar

    Install

    npm i fs-posix

    Weekly Downloads

    19,647

    Version

    6.0.0

    License

    MIT

    Unpacked Size

    8.38 kB

    Total Files

    8

    Last publish

    Collaborators

    • gucong