Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
nitropack
Advanced tools
Build and deploy universal JavaScript servers!
Nitro provides a powerful toolchain and a runtime framework from the UnJS ecosystem to build and deploy any JavaScript server, anywhere!
❯ Rapid development experience with hot module replacement
❯ Multi-provider deployments with a single codebase and zero-configuration
❯ Portable and compact deployments without node_modules
dependency
❯ Directory structure aware to register API routes and more with zero configuration
❯ Minimal Design to fit into any solution with minimum overhead
❯ Code-splitting and async chunk loading for fast server startup time
❯ TypeScript fully supported
❯ Multi-driver storage and caching layer
❯ Route caching and static pre-rendering with built-in crawler
❯ Hackable to extend almost any part of nitro using options
❯ Auto imports for lazy folks and a tidy minimal codebase
❯ Best-effort compatibility for using legacy npm packages and mocking Node.js modules
Nuxt 3 is using Nitro as its server engine.
0️⃣ Create an empty directory nitro-app
mkdir nitro-app
cd nitro-app
1️⃣ Create routes/index.ts
:
export default () => 'nitro is amazing!'
2️⃣ Start development server:
npx nitropack dev
🪄 Your API is ready at http://localhost:3000/
🤓 [TIP] Check .nitro/dev/index.mjs
if want to know what is happening
3️⃣ You can now build your production-ready server:
npx nitropack build
4️⃣ Output is in the .output
directory and ready to be deployed on almost any VPS with no dependencies. You can locally try it too:
node .output/server/index.mjs
That's it you got it! Read the documentation to learn more.
Check 🐛 open issues for the known issues and roadmap and tell us 💡your ideas!
Made with 💛 Published under MIT.
FAQs
Build and Deploy Universal JavaScript Servers
The npm package nitropack receives a total of 263,218 weekly downloads. As such, nitropack popularity was classified as popular.
We found that nitropack demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.