Skip to content

kyco/dev-dict

Repository files navigation

dev-dict

dev-dict

A multilingual collection of software development terms. Useful for building developer tools, documentation sites, personal portfolios, etc.

Browse terms | Documentation

Installation

npm install dev-dict

Usage

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

About

A multilingual collection of software development terms.

Resources

License

Contributing

Stars

Watchers

Forks

Contributors