pify
Knock
pify | Knock | |
---|---|---|
2 | 3 | |
1,497 | 2,089 | |
- | - | |
0.0 | 1.4 | |
over 1 year ago | about 3 years ago | |
JavaScript | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pify
-
My theory on why so many people are bad at coding.
What's probably got your shorts in a knot is the contents of the node_modules directory. That directory is a cache for mode.js modules so the tutorial can function standalone without having to install anything else. Treat it as you would object code. I pulled a half-dozen of those modules at random and went to their repositories. Every one of them had unit tests: block-stream, graceful-fs, lowercase-keys, minimist, pify and safe-buffer. Nobody sane ships unit tests with their executables.
-
what's your hidden gem package?
Not sure it’s hidden but I really like pify to promisify things, really cleaned up my multer calls.
Knock
- what's your hidden gem package?
-
What resources do you recommend to learn about Rails APIs?
Authentication - https://github.com/nsarno/knock
-
Ruby on Rails + Auth0: Authenticating your API with an external authentication service
In 2019 I wrote a post with this same subject and an extra tool: Knock.
What are some alternatives?
Bluebird - :bird: :zap: Bluebird is a full featured promise library with unmatched performance.
Devise - Flexible authentication solution for Rails with Warden.
pinkie-promise - Promise ponyfill with pinkie
JWT - A ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard.
promise-memoize - Memoize promise-returning functions. Includes cache expire and prefetch.
Doorkeeper - Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.
valvelet - Limit the execution rate of a function
OmniAuth - OmniAuth is a flexible authentication system utilizing Rack middleware.
p-map - Map over promises concurrently
Devise Token Auth - Token based authentication for Rails JSON APIs. Designed to work with jToker and ng-token-auth.
rfpify - [DEPRECATED] Promisify a result-first callback function.
Sorcery - Magical Authentication