Skip to content

Valdomar/ikea-name-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ikea-name-generator

A node.js module that returns a random ikea furniture name because it's so cool !

Installation

npm install ikea-name-generator --save
yarn add ikea-name-generator

Usage

JavaScript

var ikea = require('ikea-name-generator');

var furnitureWithMaybeSwedishCharacters = ikea.getName();
console.log(furnitureWithMaybeSwedishCharacters);

var furnitureWithoutSwedishCharacters = ikea.getName(false);
console.log(furnitureWithoutSwedishCharacters);
Output should be for example 'Pendubdö'
Output should be for example 'Ripce'

TypeScript

import { getName } from 'ikea-name-generator';

console.log(getName())
console.log(getName(false))
Output should be for example 'Pendubdö'
Output should be for example 'Ripce'

Test

npm run test

Credits

The algorithm to generate ikea furniture names comes from @crazykate/ikea-name-generator. You can see the generator live on ikea-name-generator.surge.sh

I just needed a package for node to use it into my project :)

About

What about the most useful name randomizer in the world ?

Resources

License

Stars

Watchers

Forks

Packages

No packages published