Christos Panagiotakopoulos · @chrispanag
76 followers · 128 posts · Server fosstodon.org

Sometimes, you have to interface with an API that doesn't respond fast enough. Moreover, you might perform the same request multiple times.

The solution?

Return the same promise for the same exact requests until they resolve. This is more useful when you interface with stateless APIs, where you just consume data.

github.com/chrispanag/memoized

#node #nodejs #npm #npmPackage #package #javascript #typescript #opensource

Last updated 5 years ago

Arghya :apple_inc: :debian: · @arghyadeep
66 followers · 337 posts · Server fosstodon.org

Weekends to is time for hobby projects.
Worked half of my Sunday and fixed the issues.

v0.0.5 is published finally.

Changelogs:

- Fixed a major issue with exceptions.
- Better error handling with appropriate messages.
- New parameter factor introduced which helps in modifying the cropped area of face.
- More unit test cases added.
- Code Coverage enhanced to 99%.

#nodejs #cicd #automation #foss #opensource #opensourceContributions #developers #javascript #devops #npm #npmPackage

Last updated 5 years ago

Arghya :apple_inc: :debian: · @arghyadeep
66 followers · 337 posts · Server fosstodon.org

Just released v0.0.4!

Changelogs:

- Function API has been modified to reduce complexity.
- Fixes in loading pre-trained classifier files.
- Added .npmignore file.
- Reduced package size to less than a MB.
- Added unit test cases for the new developments.
- Moved to Codecov from Sonarqube.
- Achieved 95% code coverage.
- README updates with images added.

#devops #cicd #automation #foss #opensource #opensourceContributions #npm #npmPackage #nodejs #javascript

Last updated 5 years ago

Arghya :apple_inc: :debian: · @arghyadeep
66 followers · 337 posts · Server fosstodon.org

Released v0.0.3!

Changelogs:

- Added support for multi-face detection.
- Redirecting to opencv4js npm package to obtain the updated opencv.js file easily.
- Integrated Sonarqube for code scanning and detect bugs/issues/smells in code.
- Integrated Jest for unit testing.
- Code coverage- 94.4%.
- README updates to provide more clarity.

v1.0.0 will be arriving by next week.

#devops #cicd #automation #opensourceContributions #npm #npmPackage #nodejs #javascript #foss #opensource

Last updated 5 years ago

Arghya :apple_inc: :debian: · @arghyadeep
66 followers · 337 posts · Server fosstodon.org

v0.0.2 is out now!

Changelogs:
- Minor code tweaks.
- Github Actions workflow added to automate publishing to npm registry.
- Documentation updated with relevant details on how to use the package.

#npm #npmPackage #javascript #githubactions #foss #devops #cicd #automation #opensource #opensourceContributions

Last updated 5 years ago

Arghya :apple_inc: :debian: · @arghyadeep
66 followers · 337 posts · Server fosstodon.org

Was helping out a friend with some code, ended up creating a package.

It uses to detect faces from an image and crops the faces out.

One of the use cases of this package can be creating thumbnails/previews showing just the faces from the original picture.

P.S. - The pre-release version is out now. More enhancements coming soon.

npmjs.com/package/opencv-facec


#nodejs #npm #npmPackage #javascript #opensource #opensourceContributions #opencv #foss

Last updated 5 years ago