dev-dict
v0.14.2
Published
A community-driven collection of software development terms with explanations in multiple languages. Perfect for building multilingual developer tools, documentation sites, and educational platforms.
Maintainers
Keywords
Readme
dev-dict
A multilingual collection of software development terms. Useful for building developer tools, documentation sites, personal portfolios, etc.
Installation
npm install dev-dictUsage
import { TERMS, getTerms } from 'dev-dict'
// Define dictionary
const dictionary = getTerms({ terms: TERMS, locale: 'en-US' })
// Display translated terms
dictionary.forEach(term => {
console.log(term.name) // "React", "TypeScript", etc.
})Bundle size
Dev-dict contains 220+ terms. To keep your bundle small import only the terms you need.
// GOOD
import { react, typescript } from 'dev-dict/terms'
// BAD
import { TERMS } from 'dev-dict'The root entry is best suited for server-side or build-time use cases where you need the full dataset (e.g. generating a static glossary page).
Supported languages
| Locale | Language |
|---------|-------------------------------------|
| en-US | English (United States) - Default |
| en-GB | English (Great Britain) |
| de-DE | German (Germany) |
Contributing
Contributions welcome! Please help add terms, provide translations, fix errors and/or suggest improvements.
See CONTRIBUTING.md for more details.
Development
pnpm install # Install dependencies
pnpm build # Build library
pnpm test # Run tests
pnpm demo:dev # Run demo site (http://localhost:5173/dev-dict)
pnpm demo:build # Build demo site