Skip to content

Latest commit

 

History

History
69 lines (51 loc) · 2.1 KB

README.md

File metadata and controls

69 lines (51 loc) · 2.1 KB

greek-in-tech

Learn which words used on modern computing and software engineering, come straight from the greek language / mythology. Visit greekintech.com to read all entries.

Install

npm install @tsevdos/greek-in-tech

or

yarn add @tsevdos/greek-in-tech

Usage

// CommonJS
const GreekInTech = require("@tsevdos/greek-in-tech").default;
const all = require("@tsevdos/greek-in-tech").all;
const random = require("@tsevdos/greek-in-tech").random;
const getEntry = require("@tsevdos/greek-in-tech").getEntry;
// ESM
import GreekInTech, { all, random, getEntry } from "@tsevdos/greek-in-tech";

GreekInTech.all: object[]
all: object[]
//=> All entries.

GreekInTech.random(): object
random(): object
//=> Random entry.

GreekInTech.getEntry(id: number): object
getEntry(id: number): object
//=> Specific entry.

A single entry looks like this:

{
  id: 2,
  title: 'Daemon',
  description: 'The term coined by programmers of MIT\'s Project MAC, was inspired by the physicist James Clerk Maxwell\'s demon. It originated as an imaginary being from a thought experiment that constantly works in the background sorting molecules. In Greek mythology, a daemon is a supernatural being working in the background, with no particular bias towards good or evil. The daemon concept was subsequently adopted by Unix systems, however, BSD and some of its derivatives have used a Christian interpretation of the mythological deamon as their mascot rather than a Greek daemon.',
  categories: [ 'OS', 'unix', 'linux', 'open source' ],
  references: [
    {
      name: 'Wikipedia',
      source: 'https://en.wikipedia.org/wiki/Daemon_(computing)#Etymology'
    }
  ]
}

Contributing

All the entries are located into a single JSON file. Just add your entry, check everything using npm run check and create a pull request.

Related

License

MIT© John Tsevdos