https://github.com/ladjs/juice-resources-promise
Simple helper function to convert juice.juiceResources into a Promise
https://github.com/ladjs/juice-resources-promise
Last synced: 3 months ago
JSON representation
Simple helper function to convert juice.juiceResources into a Promise
- Host: GitHub
- URL: https://github.com/ladjs/juice-resources-promise
- Owner: ladjs
- License: mit
- Created: 2017-09-22T08:41:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-22T07:18:35.000Z (over 8 years ago)
- Last Synced: 2025-02-14T12:55:51.192Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://lad.js.org
- Size: 55.7 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# juice-resources-promise
[](https://travis-ci.org/niftylettuce/juice-resources-promise)
[](https://codecov.io/gh/niftylettuce/juice-resources-promise)
[](https://github.com/sindresorhus/xo)
[](https://github.com/prettier/prettier)
[](https://lass.js.org)
[](<>)
> Simple helper function to convert `juice.juiceResources` into a Promise
## Table of Contents
* [Install](#install)
* [Usage](#usage)
* [Contributors](#contributors)
* [License](#license)
## Install
[npm][]:
```sh
npm install juice-resources-promise
```
[yarn][]:
```sh
yarn add juice-resources-promise
```
## Usage
```js
const juiceResources = require('juice-resources-promise');
juiceResources(html, options).then(console.log).catch(console.error);
```
## Contributors
| Name | Website |
| -------------- | -------------------------- |
| **Nick Baugh** | |
## License
[MIT](LICENSE) © [Nick Baugh](http://niftylettuce.com/)
##
[npm]: https://www.npmjs.com/
[yarn]: https://yarnpkg.com/