All Projects → iCrawl → tsubaki

iCrawl / tsubaki

Licence: MIT license
💮 Promisify with native promises

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to tsubaki

doasync
Promisify functions and objects immutably
Stars: ✭ 27 (+50%)
Mutual labels:  promises, promisify
redux-reducer-async
Create redux reducers for async behaviors of multiple actions.
Stars: ✭ 14 (-22.22%)
Mutual labels:  promises
Q
A platform-independent promise library for C++, implementing asynchronous continuations.
Stars: ✭ 179 (+894.44%)
Mutual labels:  promises
bluff
🙏 Promise A+ implementation
Stars: ✭ 14 (-22.22%)
Mutual labels:  promises
Promisekit
Promises for Swift & ObjC.
Stars: ✭ 13,699 (+76005.56%)
Mutual labels:  promises
market-pricing
Wrapper for the unofficial Steam Market Pricing API
Stars: ✭ 21 (+16.67%)
Mutual labels:  promises
Hydra
⚡️ Lightweight full-featured Promises, Async & Await Library in Swift
Stars: ✭ 1,954 (+10755.56%)
Mutual labels:  promises
node-pg-large-object
Large object support for PostgreSQL clients using the node-postgres library.
Stars: ✭ 31 (+72.22%)
Mutual labels:  promises
Fetch
Asynchronous HTTP client with promises.
Stars: ✭ 29 (+61.11%)
Mutual labels:  promises
node-express-reddit-clone
Build a Node, Express and MySQL-based clone of Reddit for DecodeMTL web development bootcamp
Stars: ✭ 28 (+55.56%)
Mutual labels:  promises
promiviz
Visualize JavaScript Promises on the browser. Visualize the JavaScript Promise APIs and learn. It is a playground to learn about promises faster, ever!
Stars: ✭ 79 (+338.89%)
Mutual labels:  promises
Bliss
Blissful JavaScript
Stars: ✭ 2,352 (+12966.67%)
Mutual labels:  promises
alls
Just another library with the sole purpose of waiting till all promises to complete. Nothing more, Nothing less.
Stars: ✭ 13 (-27.78%)
Mutual labels:  promises
Crank
Write JSX-driven components with functions, promises and generators.
Stars: ✭ 2,487 (+13716.67%)
Mutual labels:  promises
storage
Extend the Chrome Extension Storage API with Promises and great TypeScript support.
Stars: ✭ 48 (+166.67%)
Mutual labels:  promises
Redux Promise Middleware
Enables simple, yet robust handling of async action creators in Redux
Stars: ✭ 2,001 (+11016.67%)
Mutual labels:  promises
Futures
Lightweight promises for iOS, macOS, tvOS, watchOS, and Linux
Stars: ✭ 59 (+227.78%)
Mutual labels:  promises
typescript-async
Creating Asynchronous Code with TypeScript
Stars: ✭ 44 (+144.44%)
Mutual labels:  promises
node-pagerduty
⛔️ DEPRECATED - PagerDuty v2 API Wrapper for Node
Stars: ✭ 19 (+5.56%)
Mutual labels:  promises
do
Simplest way to manage asynchronicity
Stars: ✭ 33 (+83.33%)
Mutual labels:  promisify

Tsubaki

Promisify with native promises

NPM version NPM downloads

Features

  • Actually maintained
  • Uses node 8's util.promisify when running on node 8 to promisify functions

Install

npm install tsubaki

Usage

const { promisifyAll } = require('tsubaki');

const fs = promisifyAll(require('fs'));

fs.writeFileAsync('test.txt', '123456', 'utf-8')
	.then(() => fs.readFileAsync('test.txt', 'utf-8'))
	.then((content) => console.log(content));

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

Tsubaki © iCrawl, Released under the MIT License.
Authored and maintained by iCrawl.

GitHub @iCrawl · Twitter @iCrawlToGo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].