npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

muenchhausen-client

v1.0.4

Published

Shell client to generate huge quantities of authentic fake data for testing purposes or mockups.

Downloads

17

Readme

module logo

NPM version Build Status Dependency Status Coverage percentage Codacy Badge Donate

Quickly get realistic mockup fake content data in your shell

Installation

$ npm install -g muenchhausen-client

Syntax

  • mh <template-string> [--culture en-GB] [--rows 1]
  • echo "<template-string>" | mh [--culture en-GB] [--rows 1]

Usage

Start Within Minutes...

$ echo "Fake-News: $(person.firstname) $(person.lastname) is a super hero action movie star born on $(date.future)" | mh
"Fake-News: Chuck Noris is a super hero action movie star born on 06/03/3513"

$ mh "now:$(date.now) random:$(date.random min:20200901)	random:	$(date.random)	$(time.now)	$(date.weekday)" --culture de-DE
now:22.02.2017 random:09.01.8692	random:	19.04.7308	08:02:54	Dienstag

$ c:\git\muenchhausen>mh "$(person.firstname) $(person.lastname) | $(address.random)$(address.street) - $(address.number), $(address.city), $(address.postcode)" --rows 5 --culture fr-FR
Ange Moreau | rue jean antoine chaptal - 159, Plaisir, 78370
Henriette Robert | rue jean louis gay lussac - 57, Plaisir, 78370
Justine Thomas | rue lavoisier - 129, Houilles, 78800
Alphonse Richard | grande rue - 97, Chambourcy, 78240
Bruno Dubois | rue marie jean antoine condorcet - 74, Plaisir, 78370

$ mh "$(number.random min:100,max:200)" --culture ja-JP
198

All fake commands available in templates

Parameters

|Name|Description| |----|-----------| ||A template string to render fake data.| |--culture|A local string to specify fake data culture which defaults to "en-GB".| |--rows|The number of rows you expect which defaults to "1".| |help, --help, /? |Show help.| |version, --version, -v|Show version.|

For more deatils plsease see COMMANDLINE-ARGUMENTS.md

API

muenchhausen-client is based on the muenchhausen node module. A detailed API description is available at https://github.com/s-a/muenchhausen/tree/master/docs

License

MIT © s-a