camaro
tarn.js
camaro | tarn.js | |
---|---|---|
3 | 1 | |
547 | 454 | |
- | 1.5% | |
6.2 | 0.0 | |
about 2 months ago | 8 months ago | |
JavaScript | JavaScript | |
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.
camaro
-
Using XPath in 2023
back in the day where every OTA (online travel agent) and airlines use XML for their API, we had to integrate them in an API gateway where to unify their API schema and workflow.
we wrote a small package[1] (using pugixml) to transform XML to JSON using a custom Xpath template syntax. Make our job much easier.
[1]: https://github.com/tuananh/camaro
- Fast XML to JSON using xpath templates in node
-
Piscina – The Node.js Worker Pool
AFAIK this is a wrapper of worker_threads API. https://github.com/tuananh/camaro utilises this for multi-threading processing of XML input.
tarn.js
-
Piscina – The Node.js Worker Pool
Knex, the SQL query builder, uses Tarn.js[1] for connection pooling to the db.
I've been using Tarn a bunch at work recently. We're doing some batch jobs, and I'm queuing work at each stage in Tarn.js pools. I created my own enqueue function that waits until the pool is less than a high-water mark in size before enqueueing. Then the pool has however many workers running.
[1] https://github.com/vincit/tarn.js/
What are some alternatives?
xml-js - Converter utility between XML text and Javascript object / JSON text.
piscina - A fast, efficient Node.js Worker Thread Pool implementation
fast-xml-parser - Validate XML, Parse XML and Build XML rapidly without C/C++ based libraries and no callback.
NodeLearn - Learning node js app
poolifier - Fast and small Node.js worker_threads and cluster worker pool
worm-scraper - Scrapes the web serial Worm and its sequel Ward into an eBook format
koder - QR/bar code scanner for the Browser
bree - Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
heic-app - 🖥 convert HEIC images to JPEG and PNG in the browser or as a PWA
BootstrapBlazor - A set of enterprise-class UI components based on Bootstrap and Blazor