holepunchto / bare Goto Github PK
View Code? Open in Web Editor NEWSmall and modular JavaScript runtime for desktop and mobile
License: Apache License 2.0
Small and modular JavaScript runtime for desktop and mobile
License: Apache License 2.0
Im really impressed by the bare-runtime. Are there plans to release documentation? I'm particularly interested in its architecture, available JavaScript runtimes and other information. Something akin to Holepunch's website, like a listing of modules and APIs would also be incredibly helpful.
I think it's really interesting project beyond the Holepunch/Pear Runtime use case.
Really incredible work! ๐
process.exit() does not seem to work on my PC
If I run
console.log("running")
process.exit(0)
console.log("still running")
in t.js, I get
$ pear t
running
still running
Would be interesting to port a project to use ESP32???
@kasperisager I'm trying to follow the code to understand where the global "require" is injected / defined and I can't find it. What am I missing? Trying to understand how the esm / cjs interop works.
When running with --eval
, modules from relative paths does not seem to load.
This case works:
$ bare --eval "require('bare-path')"
And all of these exits with Uncaught ModuleError: MODULE_NOT_FOUND: Cannot find module '...' imported from 'file:///bare.bundle/bin/bare.js'
$ bare --eval "require('./')"
$ bare --eval "require('./index.js')"
$ bare --eval "require('/Users/freeall/workspace/holepunch/brittle/index.js')"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.