Skip to content

Utilizing Colstonjs Utilities ​

Colstonjs provides some comprehensive utility libraries designed to support various web development needs. These libraries are standalone and designed to be used with the core Colstonjs framework.

Installation ​

Install @colstonjs/{util} using Bun with the following command:

bash
bun add @colstonjs/{util}

Features ​

The utility library encompasses a wide range of tools and functions:

  • CORS Handling: Simplify the process of configuring Cross-Origin Resource Sharing.
  • Basic Authentication Header Parsers: Decode and parse headers used in basic HTTP authentication.
  • And More: More utility functions will be added to this collection in the future.