mkdirp-promise - Promise version of mkdirp

  •        3

When it finishes, it will be fulfilled with the first directory made that had to be created, if any. When it fails, it will be rejected with an error as its first argument.

https://github.com/ahmadnassri/mkdirp-promise

Dependencies:

mkdirp : *
standard : ^12.0.0

Tags
Implementation
License
Platform

   




Related Projects

node-fs-extra - Node.js: extra methods for the fs object like copy(), remove(), mkdirs()

  •    Javascript

fs-extra adds file system methods that aren't included in the native fs module and adds promise support to the fs methods. It should be a drop in replacement for fs.I got tired of including mkdirp, rimraf, and ncp in most of my projects.

node-promise - Promise utilities for Node

  •    Javascript

MIT License. The node-promise project provides a complete promise implementation. Promises provide a clean separation of concerns between asynchronous behavior and the interface so asynchronous functions can be called without callbacks, and callback interaction can be done on the generic promise interface. The node-promise package provides just a promise implementation, however, https://github.com/kriszyp/promised-io is recommended for more complete promise-based IO functionality. The promised-io includes the promise implementation from node-promise, as well as wrappers around Node's filesystem and other system I/O APIs for consistent promise-based interaction.

promise-fun - Promise packages, patterns, chat, and tutorials

  •    

I intend to use this space to document my promise modules, useful promise patterns, and how to solve common problems. For now though, you can see all my promise modules below.Star this repo to show your interest, so I can know whether to prioritize this work.

redux-promise - FSA-compliant promise middleware for Redux.

  •    Javascript

FSA-compliant promise middleware for Redux. The default export is a middleware function. If it receives a promise, it will dispatch the resolved value of the promise. It will not dispatch anything if the promise rejects.


request-promise - The simplified HTTP request client 'request' with Promise support

  •    Javascript

The simplified HTTP request client 'request' with Promise support. Powered by Bluebird.Request and Bluebird are pretty awesome, but I found myself using the same design pattern. Request-Promise adds a Bluebird-powered .then(...) method to Request call objects. By default, http response codes other than 2xx will cause the promise to be rejected. This can be overwritten by setting options.simple = false.

when-dom-ready - $(document).ready() for the 21st century

  •    Javascript

Returns a Promise for cleaner usage, provides a Promise chain helper function and can also be used as a pure function. The Promise will resolve instantly if the DOM is already ready.There is also a little helper function, whenDomReady.resume(), that pauses the execution of a Promise chain and then resumes it with the last value once the DOM is ready.

promises - Promises/A+ library for PHP with synchronous support

  •    PHP

Promises/A+ implementation that handles promise chaining and resolution iteratively, allowing for "infinite" promise chaining while keeping the stack size constant. Read this blog post for a general introduction to promises. A promise represents the eventual result of an asynchronous operation. The primary way of interacting with a promise is through its then method, which registers callbacks to receive either a promise's eventual value or the reason why the promise cannot be fulfilled.

promise-polyfill - Lightweight ES6 Promise polyfill for the browser and node. A+ Compliant

  •    Javascript

Lightweight ES6 Promise polyfill for the browser and node. Adheres closely to the spec. It is a perfect polyfill IE, Firefox or any other browser that does not support native promises. For API information about Promises, please check out this article HTML5Rocks article.

request-promise-native - The simplified HTTP request client 'request' with Promise support

  •    Javascript

This package is similar to request-promise but uses native ES6 promises.request is defined as a peer-dependency and thus has to be installed separately.

jdeferred - Java Deferred/Promise library similar to JQuery.

  •    Java

JDeferred is a Java Deferred/Promise library similar to JQuery's Deferred Object.Inspired by JQuery and Android Deferred Object.

atomic - A tiny, Promise-based vanilla JS Ajax/HTTP plugin with great browser support.

  •    Javascript

A tiny, Promise-based vanilla JS Ajax/HTTP plugin with great browser support. Compiled and production-ready code can be found in the dist directory. The src directory contains development code.

node-promise-mysql

  •    Javascript

Promise-mysql is a wrapper for mysqljs/mysql that wraps function calls with Bluebird promises. Usually this would be done with Bluebird's .promisifyAll() method, but mysqljs/mysql's footprint is different to that of what Bluebird expects. At the minute only the standard connection (using .createConnection()) and the pool (using .createPool()) is supported. createPoolCluster is not implemented yet.

redux-pack - Sensible promise handling and middleware for redux

  •    Javascript

redux-pack is a library that introduces promise-based middleware that allows async actions based on the lifecycle of a promise to be declarative. Async actions in redux are often done using redux-thunk or other middlewares. The problem with this approach is that it makes it too easy to use dispatch sequentially, and dispatch multiple "actions" as the result of the same interaction/event, where they probably should have just been a single action dispatch.

Promise - A Promise library for Swift, based partially on Javascript's A+ spec

  •    Swift

A Promise library for Swift, based partially on Javascript's A+ spec. A Promise is a way to represent a value that will exist (or will fail with an error) at some point in the future. This is similar to how an Optional represents a value that may or may not be there.

postmate - 📭 A powerful, simple, promise-based postMessage library.

  •    Javascript

A powerful, simple, promise-based postMessage iFrame communication library. Postmate is a promise-based API built on postMessage. It allows a parent page to speak with a child iFrame across origins with minimal effort.

node-mkdirp - Recursively mkdir, like `mkdir -p`, but in node.js

  •    Javascript

Create a new directory and any necessary subdirectories at dir with octal permission string opts.mode. If opts is a non-object, it will be treated as the opts.mode.If opts.mode isn't specified, it defaults to 0777 & (~process.umask()).