You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

file-system

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-system

Strengthen the ability of file system


Version published
Weekly downloads
71K
increased by0.49%
Maintainers
1
Install size
6.70 kB
Created
Weekly downloads
 

Readme

Source

file-system

Strengthen the ability of file system. This module make file opertaion apis simple, you don't need to care the dir exits. and the api is same as node's filesystem. This is no exists time cost.

var file = require('file-system');

file.mkdir('1/2/3/4/5');
file.mkdirSync('1/2/3/4/5', [mode], function(err) {});
file.writeFile('path/test.txt', 'aaa', function(err) {})

install

npm install file-system

API

file.mkdir

The api is same as node's mkdir

file.mkdirSync

The api is same as node's mkdir

file.writeFile

The api is same as node's writeFile

Keywords

FAQs

Package last updated on 23 Nov 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc