
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
@nan0web/core
Advanced tools
Core application framework for nan0web with database handling, internationalization, and interface connectivity
Core application framework for nan0web providing a lightweight DB‑backed state container with built‑in internationalisation.
How to install with npm?
npm install @nan0web/core
How to install with pnpm?
pnpm add @nan0web/core
How to install with yarn?
yarn add @nan0web/core
Create an AppCore instance with a mock DB and inspect its state.
How to instantiate AppCore?
import { AppCore } from "@nan0web/core"
const db = new DB()
const core = new AppCore({ db, title: 'Demo', uri: '/demo', locale: 'en' })
console.info(core.title) // ← Demo
console.info(core.uri) // ← /demo
Load translation JSON from the DB and obtain a translation function.
How does bootstrapI18n load translations?
const db = new DB({
predefined: [['i18n/uk.json', { hello: 'Вітаю!' }]],
})
await db.connect()
const core = new AppCore({ db, locale: 'uk' })
await core.init()
const result = core.t('hello')
console.info(result) // ← Вітаю!
How to retrieve current state?
const db = new DB()
const core = new AppCore({ db })
const state = core.state()
How to create an AppResult instance?
import { AppResult } from "@nan0web/core"
const res = new AppResult({ content: 'Done', priority: 2, meta: { ok: true } })
console.info(res.content[0]) // ← Done
The base run method throws an error – subclasses must implement it.
How does run() behave when not overridden?
const db = new DB()
const core = new AppCore({ db })
await core.run() // ← throws an error → AppCore: run() must be implemented
Core components like AppCore and ProjectModel implement a static UI
metadata block defining their semantic display defaults according to the system contract.
How to get semantic static UI data?
import { AppCore, ProjectModel } from "@nan0web/core"
console.info(`${AppCore.UI.icon} ${AppCore.UI.title}`) // ← ⚙️ Application Core
How to contribute? - check here
How to license ISC? - check here
FAQs
Core application framework for nan0web with database handling, internationalization, and interface connectivity
We found that @nan0web/core 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
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.