Xihua Duan's repositories
osm2geojson-lite
a lightweight yet faster osm (either in xml or in json formats) to geojson convertor - 4x faster than xmldom + osmtogeojson in most situations - implemented in pure JavaScript without any 3rd party dependency
decodeUriComponent
A pretty fast yet robust implementation for decodeURIComponent that supports unicode, now also support other non-standard encoding such as gbk, big5, shift-jis, euc-jp, etc.
eckey-utils
Node.js based EC key utilities to generate the PEM contents (required by crypto.sign and crypto.verify) from the raw keys generated crypto.ECDH and to parse key info from given PEM content.
QueryGeoBoundary
A Node.js Module to Query the Geo (Administrative Area) Boundary from OSM nominatim and/or overpass
gulp-imgconv
A gulp plugin to convert images (format conversion, resizing, cutting in/out, watermarking etc.) for distribution or batch image processing
base64-lite
A polyfill to atob/btoa (browser side only) so as to support base64 to/from binary (Uint8Array/ArrayBuffer) conversion
clusterChapters
Cluster the chapters of "Stone Story" (紅樓夢) per the the occurrence frequency (occurrence times divided by chapter length) of 18 virtual words.
ecies-lite
A lightweight ECIES tool implemented in pure Node.JS
PromiseScheduler
PromiseScheduler, a scheduler to run promises in batch mode per the max concurrency set when creating. You can simply submit all your promises at any time as you wish, then all the concurrent behavior will be controlled by it.
simgeocode
A simple geo coder (from name to address/coordinates) for node.js
unescapeHtml
A utility function to unescape a string containing legally-html-escaped entities to the plain text
xml2geojson-lite
a lightweight yet faster osm (either in xml or in json formats) to geojson convertor - 4x faster than xmldom + osmtogeojson in most situations - implemented in pure JavaScript without any 3rd party dependency
ya-js-crawler
A highly customized js-crawler (https://github.com/antivanov/js-crawler) for advanced usage
ethereumbook
Mastering Ethereum, by Andreas M. Antonopoulos, Gavin Wood
protobuf.js
Protocol Buffers for JavaScript (& TypeScript).
rad
A tiny yet rapid RESTful web service that supports querying administrative division code from a WGS84 coordination (latitude & longitude)