Skip to content

Onededios/Common.Node

Repository files navigation

Common.Node

@onededios/common.node is a lightweight collection of Node.js utilities that simplify server‑side development.
It ships common building blocks such as a console logger, environment variable loader/validator, file utilities, error handling helpers, and robust string‑to‑type parsers.

Code Status

Overall

Lines of Code Quality Gate Coverage

Quality and Maintenance

Reliability Security Bugs Vulnerabilities

Maintainability

Code Smells Debt Rating Duplication

Table of Contents

Layout

Common.Node/
 ├─ node_modules/               # Dependencies (preinstalled)
 ├─ src/                        # TypeScript source code
 │   ├─ config/                 # Environment variable loader
 │   ├─ factories/              # Utility for runtime enums
 │   ├─ handlers/               # Error and file helpers
 │   ├─ logging/                # Console logger
 │   ├─ utils/                  # Generic helpers (parser, random generator)
 │   ├─ tests/                  # Vitest unit tests
 ├─ index.ts                    # Package entry placeholder
 ├─ package.json                # Scripts and dependency list
 ├─ tsconfig.json               # TypeScript compiler settings
 └─ vitest.config.ts            # Test/coverage configuration

Installation

npm   install @onededios/common.node   # npm
pnpm  add     @onededios/common.node   # pnpm
yarn  add     @onededios/common.node   # yarn

Requirements

  • Node.js ≥ 18
  • ESM‑compatible runtime (the package ships both ESM .mjs and CommonJS .cjs builds)

Contributing

See full contributing info and steps in CONTRIBUTING

License

Licensed under the Apache 2.0 License.
See the full text in LICENSE.

About

@onededios/common.node is a lightweight collection of Node.js utilities that simplify server‑side development.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors