Comments (6)
No sure, I've just found promisify will work for now.
from youtube-search.
It does not right now but i agree that it would be a great thing to add! PRs welcome :)
from youtube-search.
Maybe you already know this, if you want to use promises, you can install bluebird
and do const promiseSearch = Promise.promisify(search)
without any issues, check this example.
from youtube-search.
I understand, but the PR (#32) makes it easier for everyone to use promises instead of having to use workarounds like Util.Promisify.
from youtube-search.
Reference PR #32
from youtube-search.
It's too bad this was closed. Where is @MaxGfeller?
from youtube-search.
Related Issues (20)
- WARNING: Critical dependency: the request of a dependency is an expression HOT 1
- Just read it... HOT 1
- TypeError: Cannot read property 'kind' of undefined HOT 2
- index.d.ts typescript error HOT 1
- Bad Request HOT 9
- Exposed key in tests/test-search.js HOT 1
- How to receive video duration? HOT 2
- Use axios as http client HOT 5
- Search fails while more than one word HOT 5
- get URL HOT 2
- Video details
- Optimize requests to use less quota units. HOT 1
- Error: Request failed with status code 403
- error 403 HOT 9
- Youtube pllaylist URL HOT 2
- Can't search with the package HOT 6
- Tape for testing?
- Need help HOT 10
- Uncaught TypeError: querystring.stringify is not a function
- Video Descriptions not displaying entirely
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtube-search.