dev-dict 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,28 @@
1
+ # Contributing to dev-dict
2
+
3
+ Thank you for contributing! This project is an open developer dictionary. Each term is a separate JSON file under `terms/`.
4
+
5
+ ## Adding a New Term
6
+
7
+ 1. Copy `template.json` to a new file in `terms/`, e.g.:
8
+
9
+ ```bash
10
+ cp template.json terms/myterm.json
11
+ ```
12
+
13
+ 2. Fill in the fields:
14
+
15
+ - id → unique identifier (e.g., REACT)
16
+ - name → display name
17
+ - type → library, runtime, concept, methodology, etc.
18
+ - label → short human-readable description
19
+ - description → one-sentence definition
20
+ - Optional fields: tags, aka, examples, related, links, logo, color
21
+
22
+ 3. Save and submit a Pull Request.
23
+
24
+ ## Schema Versioning
25
+
26
+ Each term JSON includes a schemaVersion field. Do not change it unless updating the schema intentionally.
27
+
28
+ Current schema version: 1.0.0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 kyco
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,23 @@
1
+ # dev-dict
2
+
3
+ The Oxford dictionary of dev terms.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm i @_kyco/dev-dict
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```typescript
14
+ import devDict from '@_kyco/dev-dict`
15
+
16
+ console.log(devDict.typescript.name)
17
+
18
+ // OR
19
+
20
+ import { dd_typescript } from '@_kyco/dev-dict`
21
+
22
+ console.log(dd_typescript.name)
23
+ ```
package/index.js ADDED
@@ -0,0 +1,9 @@
1
+ import typescript from './terms/typescript.json' assert { type: 'json' }
2
+
3
+ export const dd__typescript = typescript
4
+
5
+ const devDict = {
6
+ typescript
7
+ }
8
+
9
+ export default devDict
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "dev-dict",
3
+ "version": "0.0.4",
4
+ "description": "The Oxford dictionary of dev terms",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"This project does not have any tests which can be run yet...\""
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/kyco/dev-dict.git"
12
+ },
13
+ "author": "Cornelius Weidmann <cornelius@kyco.io> (https://kyco.io)",
14
+ "license": "MIT",
15
+ "bugs": {
16
+ "url": "https://github.com/kyco/dev-dict/issues"
17
+ },
18
+ "homepage": "https://github.com/kyco/dev-dict#readme"
19
+ }
package/schema.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "version": "0.0.1",
3
+ "description": "Default schema for dev-dict terms",
4
+ "fields": {
5
+ "schemaVersion": "Specifies which schema version this file conforms to",
6
+ "id": "Unique identifier (e.g., typescript, react, i18n)",
7
+ "name": "Display name of the term",
8
+ "type": "Category of the term (e.g., language, library, framework, runtime, concept, methodology)",
9
+ "label": "Short descriptor for the term",
10
+ "description": "One or two sentence definition, usually from the official source",
11
+ "tags": "Array of related keywords",
12
+ "links": "Object with references (website, docs, GitHub, Wikipedia, etc.)",
13
+ "logo": "Object of logo URL and accent color hex"
14
+ }
15
+ }
package/template.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "schemaVersion": "0.0.1",
3
+ "id": "",
4
+ "name": "",
5
+ "type": "",
6
+ "label": "",
7
+ "description": "",
8
+ "tags": [],
9
+ "links": {
10
+ "website": "",
11
+ "github": "",
12
+ "npm": "",
13
+ "wikipedia": ""
14
+ },
15
+ "logo": {
16
+ "url": "",
17
+ "hex": ""
18
+ }
19
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "schemaVersion": "0.0.1",
3
+ "id": "typescript",
4
+ "name": "TypeScript",
5
+ "type": "language",
6
+ "label": "High-Level Programming Language",
7
+ "description": "TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.",
8
+ "tags": [
9
+ "frontend",
10
+ "backend"
11
+ ],
12
+ "links": {
13
+ "website": "https://www.typescriptlang.org",
14
+ "github": "https://github.com/microsoft/TypeScript",
15
+ "npm": "https://www.npmjs.com/package/typescript",
16
+ "wikipedia": "https://en.wikipedia.org/wiki/TypeScript"
17
+ },
18
+ "logo": {
19
+ "url": "https://cdn.simpleicons.org/typescript?viewbox=auto",
20
+ "hex": "#3178C6"
21
+ }
22
+ }