baubit-js
v2025.44.4
Published
A reusable TypeScript/JavaScript library for modern web applications
Downloads
28
Maintainers
Readme
baubit-js
A reusable TypeScript/JavaScript library for modern web applications. This library provides a collection of utilities and components that can be used across TypeScript and JavaScript projects.
Features
- ✅ TypeScript: Full TypeScript support with type declarations
- ✅ ESM: Native ES Module support
- ✅ Testing: Jest with ts-jest for comprehensive testing
- ✅ Linting: ESLint with TypeScript support
- ✅ Formatting: Prettier for consistent code style
- ✅ Build: Automated build process with TypeScript compiler
- ✅ Coverage: Code coverage reporting with thresholds
- ✅ CI/CD: Automated workflows for building, testing, and releasing
Installation
npm install baubit-jsGetting Started
Specific features and usage instructions will be added as the library evolves.
Development
# Run tests
npm test
# Run tests in watch mode
npm run test:watch
# Run tests with coverage
npm run test:coverage
# Lint code
npm run lint
# Fix lint issues
npm run lint:fix
# Format code
npm run format
# Check formatting
npm run format:check
# Build the project
npm run build
# Clean build artifacts
npm run cleanProject Structure
.
├── src/ # Source files
│ └── index.ts # Main entry point
├── tests/ # Test files
│ └── index.spec.ts # Example test
├── dist/ # Build output (generated)
├── coverage/ # Coverage reports (generated)
├── .gitignore # Git ignore rules
├── .prettierrc.json # Prettier configuration
├── .prettierignore # Prettier ignore rules
├── eslint.config.js # ESLint configuration
├── jest.config.cjs # Jest configuration
├── tsconfig.json # TypeScript configuration
├── package.json # Package manifest
├── LICENSE # MIT License
└── README.md # This fileContributing
Contributions are welcome! Please ensure all tests pass and code follows the project's coding standards before submitting a pull request.
Configuration
Code Quality
This project maintains high code quality standards:
- TypeScript with strict type checking
- ESLint for code linting
- Prettier for code formatting
- Jest for testing with coverage thresholds (90% lines, 90% statements, 80% branches, 90% functions)
License
MIT - see LICENSE file for details
