examples
examples copied to clipboard
[WIP] Global wishlist
With the discussions during the OpenJS world event in Vancouver, a lot of people express the interest / need to have both documentation and examples being easy to use by the broader community. Here is a quick list of some first ideas (I will open a PR to have some kind of summary inside the repo)
In all case each item should include
- test
- how to use (full step by step)
- explanation or consideration
Pure Node.js
- [ ] Node.js test platform: runner, test, tap output...
- [ ] Stream operation (pipeline, duplex, transform)
- [ ] Read / write files with transformation (buffer operation?)
- [ ] Simple HTTP server
- [ ] Node-api with c/c++ wrapper
- [ ] Node-api with napi-rs / bindgen / neon for rust
- [ ] Loader (use case with typescript? waiting to move out of experimental?)
- [ ] CLI usage (read args, interacting with systems)
- [ ] Undici / HTTP use case
NPM / Packages
- [ ] Create a simple package and publishing it
- [ ] Build CJS / ESM dual package
- [ ] NPM query and usage of NPM CLI
TypeScript
- [ ] Using Typescript to create a package / lib
Cloud
- [ ] Serverless function for all providers (read a request, insert into a db for each)
- [ ] Docker setup for a project
TypeScript
- [ ] Setup a basic example with typescript
- [ ] Full TS + HMR setup for project
- [ ] How to use map files
Other
- [ ] Docker base application
- [ ] Security solution
- [ ] Good practice (?)
what do you think about:
- How to create a package with nodejs
- How to create a package with nodejs and typescript/rust ...
I will love to help with the docker one, following this guide https://nodejs.org/en/docs/guides/nodejs-docker-webapp