tokenlayer
v1.0.0
Published
Effortlessly use your design tokens from any source. Bridge design and code for a scalable, consistent design system.
Maintainers
Readme
tokenlayer
Effortlessly use your design tokens from any source. Bridge design and code for a scalable, consistent design system.
Features
- 📦 Simple, zero-config TypeScript library
- 🦋 Supports any design tokens source (JSON, Style Dictionary, etc)
- 🧪 Fully tested with Vitest
- 🛡️ Strict linting and formatting (Airbnb/FAANG style)
- 📝 Automated changelog and semantic versioning
- 🚀 Ready for CI/CD and open source
Installation
pnpm add tokenlayer
# ou
yarn add tokenlayer
# ou
npm install tokenlayerUsage
import { hello } from 'tokenlayer';
console.log(hello('World'));
// Hello, World!Scripts
pnpm build— Build the library with tsuppnpm test— Run tests with vitestpnpm lint— Lint code with ESLintpnpm format— Format code with Prettierpnpm changeset— Create a new changeset for versioning
Contributing
Contributions are welcome! Please read our Code of Conduct and Contributing Guide first.
- Use Conventional Commits
- Add/Update tests for new features or bug fixes
- Keep documentation up to date
License
Maintainer
Built with ❤️ and TypeScript
