• Stars
    star
    177
  • Rank 215,985 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 2 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿข๐Ÿฆ• The missing child of Node.js and Deno.

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

More Repositories

1

vitext

The Next.js like React framework for better User & Developer experience!
TypeScript
388
star
2

vite-plugin-cloudflare

๐Ÿ”ฅ Easier and better experience writing Cloudflare workers in Vite
TypeScript
270
star
3

contextism

๐Ÿ˜ Use React Context better.
TypeScript
142
star
4

react-worker-components-plugin

โšก Something like react server components, but web workers instead of a server
TypeScript
102
star
5

modern-node-polyfills

modern polyfills for node native modules based on jspm-core
TypeScript
39
star
6

deconf

One config to rule them all.
Go
28
star
7

Xmoji

An emoji picker for your OS. Be happy with :)
TypeScript
25
star
8

qwik-pwa-example

Please head over to https://github.com/qwikdev/pwa
TypeScript
17
star
9

Did

A node.js script for changing the wallpaper about your favorite topics.
JavaScript
9
star
10

Cheatsheets

My own fun cheatsheets๐Ÿž
8
star
11

Aslemammad

8
star
12

Aloodak-GUI

GUI version of Aloodak
CSS
7
star
13

rock-todo-list

Next generation is telefunc. Not anything else ๐Ÿ˜Ž
TypeScript
7
star
14

dotfiles

Shell
5
star
15

hangman

simple game for mastering svg animations. Test state.
TypeScript
4
star
16

simple-shop-api

JavaScript
4
star
17

Bitcoin-Warner

Java
3
star
18

XController

Some additionals for xbox controller in Gnu/linux
TypeScript
3
star
19

Aloodak-RN

3
star
20

react-router-hook

Combine hooks with React-Router. ๐Ÿ˜
TypeScript
2
star
21

simple-shop-front

frontend of simple-shop-api
TypeScript
2
star
22

simple-react-bootstrap

Simple uncomplete react bootstrap project (pizza order page)
JavaScript
2
star
23

Jpg-to-png

read the down
Java
2
star
24

leetcode

JavaScript
2
star
25

simpleChart

solve quera.ir challenge
JavaScript
2
star
26

PingS

A game with scratch
2
star
27

fanavard-1399-test

JavaScript
2
star
28

googlehacked.github.io

HTML
1
star
29

Happy-Programmers-Day

Java
1
star
30

static

TypeScript
1
star
31

vite-plugin-vercel

1
star
32

GithubGraph

Don't see this project. Please.
1
star
33

Dynamic-Wallpaper

Shell
1
star
34

bmi

Java
1
star
35

genius-api

nodejs genius api
1
star
36

E-commerce

An open source and free E-commerce
CSS
1
star
37

empty

1
star
38

Date-Project

Java
1
star
39

Vidound

Java
1
star
40

hisletters

navigate the history 20th history with a small script! It's a POC though.
TypeScript
1
star
41

jotai-jsx

TypeScript
1
star