New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

asfs

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asfs

Aynsc file system utility.

latest
Source
npmnpm
Version
2.3.0
Version published
Weekly downloads
853
-22.24%
Maintainers
1
Weekly downloads
 
Created
Source

asfs

Build Status npm Version JS Standard

Aynsc file system utility.

Installation

$ npm install asfs --save

Usage

'use strict'

const asfs = require('asfs')
const co = require('co')

co(function * () {
  let filename = 'foo.txt'
  let exists = yield asfs.existsAsync(filename)
  if (exists) {
    let content = yield asfs.readFileAsync(filename)
    console.log(content)
  }
})

License

This software is released under the MIT License.

Keywords

fs

FAQs

Package last updated on 26 Jan 2020

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