Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Folio Generator

CI Wallaby.js

JS npm JS downloads TS npm TS downloads License: MIT

A robust library to generate sequential alphanumeric codes (folios) like A00001, A00002, ..., Z99999, AA00001.

This repository contains production-ready implementations in:

Features

  • Sequential Generation: Automatically increments numbers and letters (e.g., A00001 -> A00002).
  • Configurable Format: Custom padding (e.g., 3 digits) and separators (e.g., A-001).
  • Collision Handling: Robust logic to check against a database and skip existing folios.
  • Type Safety: Full type support in TypeScript.
  • Production Ready: Comprehensive tests and strict validation, actively used in production projects.
  • Zero Dependencies: No runtime dependencies in either package.

Usage

Please refer to the specific package directory for detailed installation and usage instructions:

Contributing

Contributions are welcome! Please read CONTRIBUTING.md for guidelines on how to submit issues, feature requests, and pull requests.

Security

If you discover a security vulnerability, please follow the process described in SECURITY.md.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A robust, multi-language library to generate sequential alphanumeric codes (folios) like A00001, A00002, ..., Z99999, AA00001.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages