🐢🦕 The missing child of Node.js and Deno.

Overview

Venode

The missing child of Node.js and Deno.


Venode is a node runner that supports deno features like vendoring and http imports!

Features

  • Javascript/Typescript http imports
  • Vendor dependencies
  • Out-of-box TypeScript / JSX support
  • Built on top of Vite
  • Node >= 14

Http imports

You can easily import javascript/typescript code from the web!

// index.ts
import { assert } from "https://raw.githubusercontent.com/denoland/deno_std/main/_util/assert.ts";

console.log("here is deno assert function in node:", assert);

In your terminal:

> venode index.ts
ℹ Download https://raw.githubusercontent.com/denoland/deno_std/main/_util/assert.ts
here is deno assert function in node: [Function: assert]

Vendor

Vendoring packages is possible, so your app would be able to rely on the same code all the time!

> venode vendor index.ts
ℹ Download https://raw.githubusercontent.com/denoland/deno_std/main/_util/assert.ts
✔ To use vendored modules, specify the --import-map flag: venode --import-map=vendor/import_map.json

The vendor directory should be checked into the version control, so you (your team) use the same dependencies all the time!

Now you can specify the vendor/import_map.json as the import map in venode:

> venode index.ts --import-map=vendor/import_map.json
✔ Reading modules from vendor/import_map.json
here is deno assert function in node: [Function: assert]

Read more about vendoring in deno's release notes.

Contributing

Feel free to create issues for the bugs or features you want.

Credits

vite-node

deno

mlly

consola

undici

You might also like...

A command-line tool to manage Deno scripts installed via deno install

🏞️ nublar nublar is a command-line tool to manage your scripts installed via deno install. 🛳️ Installation deno install --allow-read --allow-write -

Dec 26, 2022

Differences between Node + Koa and Deno + Oak

Node + Koa VS Deno + Oak Differences between Node + Koa and Deno + Oak About This is a project that aims to observe the differences between a simple R

Jun 28, 2022

Slim Webauthn library with ES6, Node and Deno support.

webauthn NPM: @hexagon\webauthn | Deno.land: webauthn Slim Webauthn library with ES6, Node and Deno support. Heavily based on fido2-lib, but with it's

Aug 3, 2022

Postgres.js - The Fastest full featured PostgreSQL client for Node.js and Deno

Postgres.js - The Fastest full featured PostgreSQL client for Node.js and Deno

🚀 Fastest full-featured node & deno client 🏷 ES6 Tagged Template Strings at the core 🏄‍♀️ Simple surface API 🖊️ Dynamic query support 💬 Chat and

Jan 1, 2023

For web frameworks on Node, on Deno, and on Bun.

Web Framework Bench For web frameworks on Node, on Deno, and on Bun. Fast is not everything, but fast is everything. Motivation There are some benchma

Sep 7, 2022

Building block for hybrid Deno/Node scaffolding tools

Skaffe—building block for hybrid scaffolding tools This library provides a simple way to copy around files that were shipped with your hybrid Deno/Nod

Aug 2, 2022

Minimal utility to convert to or from any timezone. Deno/Node/Browser. ESM/CommonJS.

minitz Features Convert dates between any timezone supported by the system. Parses ISO8601 time strings. MIT licensed, use the library any way you wan

Oct 10, 2022

A low-feature, dependency-free and performant test runner inspired by Rust and Deno

minitest A low-feature, dependency-free and performant test runner inspired by Rust and Deno Simplicity: Use the mt test runner with the test function

Nov 12, 2022

A set of APIs for handling HTTP and HTTPS requests with Deno 🐿️ 🦕

oak commons A set of APIs that are common to HTTP/HTTPS servers. HTTP Methods (/method.ts) A set of APIs for dealing with HTTP methods. Content Negoti

May 23, 2022
Owner
M. Bagher Abiat
Founder of @tinylibs. Member of @pmndrs, @vikejs & @vitest-dev
M. Bagher Abiat
Domvas implements the missing piece that connects the DOM and Canvas.

Domvas Overview Domvas implements the missing piece that connects the DOM and Canvas. It gives to the ability to take arbitrary DOM content and paint

Paul Bakaus 389 Dec 29, 2022
Contracts with missing implementation details and unit tests to help guide junior solidity developers.

template-challenge-staking Contracts with missing implementation details and unit tests to help guide junior solidity developers. Getting started Open

BuiltByFrancis 4 Oct 7, 2022
Missing Person Finder re-design

Missing Person Finder With ReactJs #Technology Used React Routing with React-routing-dom Redux with Redux Persist API calling with axios Ant design UI

Itp Manish 0 Jul 12, 2022
The missing CLI for beautiful, interactive API docs powered by with Stoplight Elements

Elements CLI The missing CLI for beautiful, interactive API docs powered by with Stoplight Elements Installation Install using npm as global package:

skriptfabrik GmbH 6 Nov 22, 2022
🛣️ A tiny and fast http request router designed for use with deno and deno deploy

Rutt Rutt is a tiny http router designed for use with deno and deno deploy. It is written in about 200 lines of code and is pretty fast, using an exte

Denosaurs 26 Dec 10, 2022
A small, but powerful HTTP library for Deno & Deno Deploy, built for convenience and simplicity

Wren Wren is a small, but powerful HTTP library for Deno & Deno Deploy, built for convenience and simplicity. convenient aliases for HTTP responses au

Jakub Neander 69 Dec 12, 2022
This is a simple boilerplate for a Deno website, deployed with Deno Deploy.

Simple Deno Website Boilerplate This is a simple website boilerplate built using Deno and deployed using Deno Deploy. Demo at simple-deno-website-boil

Bruno Bernardino 15 Dec 3, 2022
TypeSafe MongoDB Atlas Data API SDK for Deno & Deno Deploy

Atlas SDK atlas_sdk is a TypeSafe MongoDB Atlas Data API SDK for Deno & Deno Deploy Links Docs Import Replace LATEST_VERSION with current latest versi

Erfan Safari 20 Dec 26, 2022
Deno bindings for yoga, using Deno FFI.

deno_yoga Deno bindings for yoga, using Deno FFI. Usage flags: --allow-ffi: Requires ffi access to "yogacore.dll", "libyogacore.so", "libyogacore.dyli

迷渡 6 Feb 11, 2022
deno-ja (Deno Japanese community) showcase

Showcase Deno本家よりも気軽に作ったものを公開できるようなShowcaseです。 スクリーンショットの撮影方法 短めのidを決めていただいて、下記のようにスクリプトを実行してください。 deno task screenshot [url] [id] ※エラーが出る場合は、下記を実行してみ

deno-ja 17 Oct 28, 2022