OpChan/README.md
2025-09-18 10:29:03 +05:30

874 B

Opchan

A TypeScript browser library workspace.

Structure

This is an npm workspace containing:

  • @opchan/core - Core browser library package

Development

Installation

npm install

Building

Build all packages:

npm run build

Build specific package:

npm run build --workspace=@opchan/core

Development Mode

Watch mode for development:

npm run dev --workspace=@opchan/core

Testing

npm test

Linting

npm run lint

Usage

import { Opchan } from '@opchan/core';

const opchan = new Opchan({
  debug: true,
  version: '1.0.0'
});

console.log(opchan.getVersion()); // "1.0.0"
opchan.log('Hello from Opchan!'); // [Opchan] Hello from Opchan!

Packages

@opchan/core

The core browser library providing the main functionality.

License

MIT