TradeIdeasPhilip / lib

Blazingly fast utilities for TypeScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blazingly fast TypeScript library

This library available as a git submodule so it's easy for me to edit this while I'm working on various main programs. See phil-lib for the same functionality in an npm package.

This submodule structure works well with Vite. When I tried creating a similar library without a build tool, I ran into lots of problems.

Adding to a new project

To import this library into a new project:

  • cd into the directory where you want to add lib as a subdirectory.
  • git submodule add https://github.com/TradeIdeasPhilip/lib

Cloning an existing project

If you clone a main program that uses this library, you might or might not need to type the next line. (It depends on which git client you used to grab the main program.)

git submodule update --init --recursive

Working example

https://github.com/TradeIdeasPhilip/bounce-3d/commit/fd4ed77c298008787c8a49ac5398705a88870fe9

About

Blazingly fast utilities for TypeScript.


Languages

Language:TypeScript 100.0%