0.0.2 • Published 9 months ago

chepe-ts-package-template v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

CI

A preconfigured project template for quickly starting a new TypeScript library

Overview

This project template provides a preconfigured setup for creating a TypeScript library. It includes essential tools and configurations to streamline the development process and enable rapid library development.

Features

  • TypeScript for writing type-safe code
  • Preconfigured build system
  • Testing setup
  • Documentation generation WIP
  • Linting and code formatting
  • Continuous Integration (CI) support

Getting Started

Prerequisites

  • Node.js (version 20.x)
  • PNPM (or npm)

Installation

  1. Clone the repository:
git clone https://github.com/chepetime/ts-package-template
  1. Install dependencies:
pnpm install
# or npm install

How to use

Install the TypeScript library built using this template

npm i chepe-ts-package-template

Import the library and the function

import { add, sub } from "chepe-ts-package-template";

const resultAdd = add(1, 2);
console.log(resultAdd); // 3

const resultSub = sub(5, 3);
console.log(resultSub); // 2

Acknowledgements


Made with <3 by José Lugo at 🇲🇽 Mexico City

0.0.2

9 months ago

0.0.1

9 months ago