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 🙏

© 2025 – Pkg Stats / Ryan Hefner

apemanseed

v2.1.6

Published

Dynamic data generator.

Readme

apemanseed

Build Status Code Climate Code Coverage npm Version JS Standard

Dynamic data generator.

Installation

$ npm install apemanseed --save

Usage

'use strict'

const apemanseed = require('apemanseed')

let seed = apemanseed('ja', {
  vars: {
    foo: 'bar'
  }
})

let users = seed.explode({
  username: '#{animal}'
}, 100)

console.log(users)

Context

Variables available inside expression.

Values with ja lang

| Name | Example | | ---- | ------- | | addressKana | "トウキョウトエドガワクヒガシシノザキマチ", "ギフケンギフシヒノデマチ", "キョウトフソウラクグンカモチョウナガモダイ" | | address | "東京都江戸川区東篠崎町2-8-6", "岐阜県岐阜市日ノ出町9-15-3", "京都府相楽郡加茂町南加茂台1099" | | age | "16", "4", "77" | | animal | "おうま", "戌", "おうし" | | bird | "ひたき", "ひくいどり", "ひくいな" | | birthday | "Sat, 03 Jul 1999 00:13:11 GMT", "Thu, 29 Mar 2012 21:49:32 GMT", "Fri, 10 Feb 1939 05:59:47 GMT" | | city | "新京", "上海", "シンガポール" | | color | "たまむしいろ", "多色", "たまむし" | | country | "白耳義", "ペルー", "ベルギー" | | fish | "とらふぐ", "トラウト", "ドラゴンフィッシュ" | | fruit | "日向夏", "パプリカ", "ピーマン" | | geo | "かわぐち", "かわ", "河" | | instrument | "ホルン", "ベース", "ハーモニカ" | | myoujiKana | "やました", "いけだ", "はしもと" | | myouji | "山下", "池田", "橋本" | | namaeKana | "ノゾミ", "マキコ", "レイイチ" | | namae | "望", "真紀子", "玲一" | | organ | "は", "乳嘴", "のど" | | plant | "しろふじ", "しらゆり", "しろぎく" | | star | "双子座", "はと座", "ふうちょう座" | | unit | "シーベルト", "石", "さか" |

Values with en lang

| Name | Example | | ---- | ------- | | age | "64", "26", "22" | | color | "cinnabar", "cinereous", "cinnamon" | | email | "[email protected]", "[email protected]", "[email protected]" | | firstName | "Johnny", "Mildred", "Paul" | | fish | "basking shark", "barreleye", "bass" | | flower | "amaryllis", "African Lily", "anemone" | | gender | "Male", "Female", "Male" | | lastName | "Gonzales", "Knight", "Russell" |

Functions

  • moment()
  • numcal()
  • stringcase()
  • randomval()
  • toRomaji()
  • toHiragana()
  • toKatakana()
  • randomBool()
  • randomDate()
  • randomHash()
  • randomInt()
  • random()
  • camelcase()
  • capitalcase()
  • constcase()
  • decapitalcase()
  • enumcase()
  • lowercase()
  • pascalcase()
  • pathcase()
  • sentencecase()
  • snakecase()
  • spacecase()
  • spinalcase()
  • titlecase()
  • trimcase()
  • uppercase()
  • ave()
  • max()
  • min()
  • sum()

License

This software is released under the MIT License.

Links