/nodejs

Alternative StdLib for Nim for NodeJS/JavaScript targets, hijacks NodeJS StdLib for Nim

Primary LanguageNimMIT LicenseMIT

Alternative StdLib for Nim for NodeJS/JavaScript targets

Documentation

Mobile

Client Side

Single file executable

Install

  • nimble install nodejs OR nimble install https://github.com/juancarlospaco/nodejs.git

Testing CI

All commits are run in CI using this matrix:

matrix:
  platform:     [ubuntu-latest, windows-latest]
  architecture: ["x64", "x86"]
  node:         [12, 13, 14, 15, 16, 17]
  nim-channel:  [stable, devel]

Everything works from Node 12 and newer.

Design

  • It does not use anything from Nim standard library, very future-proof, just imports some types to be compatible with it, like RegExp, etc.
  • We do not deprecate stuff, even if NodeJS deprecate/remove it, it will keep working for Nim.
  • Stuff deprecated/demoved before year 2020 will not be supported.
  • Experimental or Unstable API on NodeJS are automatically implicitly considered Experimental here.
  • Package version == NodeJS version.

Doing Python ?

See also:

💰➡️🍕

Bitcoin BTC

BEP20 Binance Smart Chain Network BSC

0xb78c4cf63274bb22f83481986157d234105ac17e

BTC Bitcoin Network

1Pnf45MgGgY32X4KDNJbutnpx96E4FxqVi

Lightning Network

juancarlospaco@bitrefill.me
Ethereum ETH Dai DAI Uniswap UNI Axie Infinity AXS Smooth Love Potion SLP Uniswap UNI USDC

BEP20 Binance Smart Chain Network BSC

0xb78c4cf63274bb22f83481986157d234105ac17e

ERC20 Ethereum Network

0xb78c4cf63274bb22f83481986157d234105ac17e
Tether USDT

BEP20 Binance Smart Chain Network BSC

0xb78c4cf63274bb22f83481986157d234105ac17e

ERC20 Ethereum Network

0xb78c4cf63274bb22f83481986157d234105ac17e

TRC20 Tron Network

TWGft53WgWvH2mnqR8ZUXq1GD8M4gZ4Yfu
Solana SOL

BEP20 Binance Smart Chain Network BSC

0xb78c4cf63274bb22f83481986157d234105ac17e

SOL Solana Network

FKaPSd8kTUpH7Q76d77toy1jjPGpZSxR4xbhQHyCMSGq
Cardano ADA

BEP20 Binance Smart Chain Network BSC

0xb78c4cf63274bb22f83481986157d234105ac17e

ADA Cardano Network

DdzFFzCqrht9Y1r4Yx7ouqG9yJNWeXFt69xavLdaeXdu4cQi2yXgNWagzh52o9k9YRh3ussHnBnDrg7v7W2hSXWXfBhbo2ooUKRFMieM
Sandbox SAND Decentraland MANA

ERC20 Ethereum Network

0xb78c4cf63274bb22f83481986157d234105ac17e
Algorand ALGO

ALGO Algorand Network

WM54DHVZQIQDVTHMPOH6FEZ4U2AU3OBPGAFTHSCYWMFE7ETKCUUOYAW24Q
Polkadot DOT

DOT Network

13GdxHQbQA1K6i7Ctf781nQkhQhoVhGgUnrjn9EvcJnYWCEd

BEP20 Binance Smart Chain Network BSC

0xb78c4cf63274bb22f83481986157d234105ac17e
Binance

https://pay.binance.com/en/checkout/e92e536210fd4f62b426ea7ee65b49c3

Stars

@juancarlospaco@tandy-1000@alexgustafson@bradjasper@AndrielFR@whee@jonlroy2020@S0Sbrigade8@stisa@heinthanth@jhgalino@YanMu2020@haikyuu@matkuki@eqf0@nkot56297@adam-acosta@uly-s@Comamoca@bsouthern@reubano@darkmusic@Geksan@lzehrung@jmgomez@ritmos@colias-palaeno@zendbit@vonwao@japgro@elcritch@qaziquza@singularperturbation@sdmcallister@adokitkat@mkopa@hylid43@alehander92@foxoman@theAkito@deem0n@Himujjal@drighty@xilicode@soomtong@aviynw@Braden-Preston@termermc@KlausEverWalkingDev@nodrygo@scroot@codehangen@drewbitt@fadzikri@ArikRahman@yaroslav-gwit@konsumer@jpetrucciani@weitzj@whitebm2024@GeorgeChan@shizhaojingszj@YeonjiKim0316@mode80@SiraKen@nicks515@kshutkin@prostospirit@jdf-id-au@zhangweiii@W1M0R@AlexW00@Kisvey@piertoni@eantho@quantimnot@shirk33y@Uzo2005@theSherwood@maleyva1@ray-delossantos@raphaellouisandress@raphaellouisandress@Fedsam@bsljth@bsljth@keidrych@KolyaRS@degaur@catsuns@marcusramberg@Wutras@caden-parajuli@ysnbogt@aiank@m0xbf@nubunto@jinczing@xgr@victorgabrielbs@majj@scupit@wjl12@WangWei90@hpstep@gkze@mikra01@waytozen@lzw-723@nichdemos@8uff3r@ThunderGod95@enaaab460@wiredmatt@hewhocannotbetamed@kauderk@rxx