Skip to content

About

A reusable starting point for Eliware Node.js libraries using native ESM.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

eliware.org

@eliware/library-template npm License CI

A reusable starting point for Eliware Node.js libraries using native ESM.

Table of Contents

Features

This template provides a reusable starting point. Each derived repository owns its product behavior and operating decisions.

Requirements

Use Node.js 26 or later and npm 12 or later for repository validation.

Setup

Create a repository from this template. Replace the template name, description, URLs, keywords, and sample content. Run npm ci from the repository root.

Usage

Follow this README and the user guide. Read release notes for release history.

Development

Read AGENTS.md and the specifications index before you change files. Keep documents and records in the repository that owns them.

Testing

Run npm test before handoff. It runs the repository checks through eliware-test.

Troubleshooting

Install the required Node.js and npm versions. Run npm ci after dependency changes. Review the file and rule in any validation error.

Security

Keep credentials, secrets, private data, and runtime state out of Git. Use only approved secret stores for secret values.

API

The public function is createGreeting(name?: string): string. Call createGreeting("Eli") to return Hello, Eli!. Call it with no name to return Hello, world!.

Packaging

The package allowlist is src/, docs/, README.md, AGENTS.md, LICENSE, RELEASE_NOTES.md, examples/, and specs/. Run npm run pack to check package contents. Publish only after approved release steps.

Examples

Run node examples/basic.mjs to see the sample API. See example guidance.

Support

For help, questions, or to chat with the author and community, visit:

Discordeliware.org

eliware.org on Discord

Links

License

MIT © Eliware

About

A reusable starting point for Eliware Node.js libraries using native ESM.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages