Skip to content

nicokoenig/kraut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Kraut

A snappy collection of famous german words.

Installation

npm install kraut

Usage

First require kraut

var kraut = require('kraut');

Usage of kraut

Kraut contains five collections of words (nouns, exclamations, greetings, verbs and adjectives)

var nouns = kraut.nouns;
var greetings = kraut.greetings;
var exclamations = kraut.exclamations;
var verbs = kraut.verbs;
var adjectives = kraut.adjectives;
var articles = kraut.articles;

Use method random() to get random word of the collection

// get random noun
kraut.nouns.random();

Use method all() to get all words of the collection

// get all nouns
kraut.nouns.all();

Usage of ipsum

Make a random sentence.

// make random sentence
kraut.ipsum.makeSentence();

Tests

npm test

Contributing

Feel free to add beautiful german words.

Please mind that I will reject pull request for inappropriate content.

About

A snappy collection of famous german words

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •