@ledgerhq/lumen-utils-shared
v0.0.15
Published
Shared utility functions for the Lumen design system.
Downloads
14,635
Maintainers
Keywords
Readme
utils-shared
Shared utility functions for the Lumen design system.
Contributing
Adding New Utilities
- Create your utility function in
src/lib/ - Export it from
src/index.ts - Add tests in the corresponding
.spec.tsfile - Update this README with usage examples
Development Commands
# Build the library
npx nx build @ledgerhq/lumen-utils-shared
# Run tests
npx nx test @ledgerhq/lumen-utils-shared
# Lint code
npx nx lint @ledgerhq/lumen-utils-sharedGuidelines
- Keep utilities pure and side-effect free
- Add comprehensive tests for all functions
- Use TypeScript for type safety
- Follow existing naming conventions
