Newtonian Physics Mockumentary

    fs-extra-as-promised

    2.0.0 • Public • Published

    fs-extra as promised

    Very simple module that promisifies fs-extra using thrush to workaround the Cannot promisify an API that has normal methods with 'Async'-suffix issue when you try to promisify the same module from multiple other modules.

    Usage

    fs = require 'fs-extra-as-promised'
    fs.existsAsync '/Users'
    .then (exists) ->
    	if exists
    		console.log 'Nice operating system you got there! ;)'
    	else
    		console.log 'Oh well… can’t win ’em all.'
    

    Install

    npm i fs-extra-as-promised

    DownloadsWeekly Downloads

    5

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • aral