baby-things

1.0.1 • Public • Published

baby-things

Random nice-to-have items generator for any baby

travis build version downloads MIT License PRs Welcome semantic-release

The problem

Are you waiting for a baby and you're thinking about buying something?

You need to buy a gift for someone else's baby but you have no idea what to buy?

This solution

This module has ~100 nice-to-have items for any baby and exposes an API for you to get a random one every time you call it

Installation

This module is distributed via npm which is bundled with node and should be installed as one of your project's dependencies:

npm install --save baby-things

Alternatively you can get the UMD build which is also published to the npm registry and is therefore available via npmcdn.com:

Usage

With ES5

var babyThings = require("baby-things")
babyThings.default.random()
babyThings.default.all

With ES6

import babyThings from 'baby-things'
babyThings.random()
babyThings.all

Working demo

With Node

https://runkit.com/embed/nm2cu5xzbrct

With UMD

Code example https://jsbin.com/yukaqal/edit?html,css,js,output

Just output https://output.jsbin.com/yukaqal

Inspiration

Contributors

PRs are welcome

We use commit convention to automatize changelog and releases, so if you want to commit something you can run this command to ensure a good commit format

npm run commit

but if you already know commit convention ("<type>(<scope>): <subject>"), you can just run

git commit -am 'my well formatted commit message'

Package Sidebar

Install

npm i baby-things

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

33.9 kB

Total Files

9

Last publish

Collaborators

  • robesansan