1.3.14 • Published 3 years ago
tsubaki v1.3.14
Tsubaki
Promisify with native promises
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
Tsubaki © iCrawl, Released under the MIT License. Authored and maintained by iCrawl.
GitHub @iCrawl · Twitter @iCrawlToGo
1.3.14
3 years ago
1.3.10
3 years ago
1.3.13
3 years ago
1.3.11
3 years ago
1.3.12
3 years ago
1.3.9
3 years ago
1.3.8
4 years ago
1.3.7
4 years ago
1.3.6
4 years ago
1.3.5
4 years ago
1.3.4
4 years ago
1.3.3
4 years ago
1.3.2
5 years ago
1.3.1
6 years ago
1.3.0
7 years ago
1.2.0
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.0
7 years ago