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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@adatechnology/game-vegetation-species

v0.2.0

Published

Content pack for @adatechnology/game-vegetation: ~90 plant species as JSON (trees, palms, shrubs, flowers, cacti, succulents, grasses, vines, potted), pt-BR and en names, and regional mixes as data.

Readme

@adatechnology/game-vegetation-species

JSON content pack for @adatechnology/game-vegetation: 71 species (trees, palms, shrubs, flowers, cacti, succulents, grasses, vines, potted plants), en and pt-BR names and descriptions, and regional planting tables (br, default). Global in browsers: GameVegetationSpecies.

import { generate } from '@adatechnology/game-vegetation'
import { toSpec, getSpecies, byTag, name, regions, pickForContext } from '@adatechnology/game-vegetation-species'

const mesh = generate(toSpec('mandacaru'), { seed: 3, lod: 1 })
name('mandacaru', 'pt-BR') // 'Mandacaru'
const id = pickForContext(regions.br, 'front_yard', 42) // weighted, deterministic

API: species, getSpecies(id), listIds(), byTag(tag), toSpec(idOrSpecies) (hex strings become ints), loadLocale(locale) (falls back to en), name, description, regions, pickForContext(region, context, seedOrRng). scatterRulesFor(region, context, seed, options?) turns a context into scatter rules: it draws species from the regional table (60 draws by default, the same seed draws the same), leaves out the vines and, with noLarge, the big trees, and splits the picks into trees, hedges, the middle layer and the ground cover, each with its density, spacing and scale. It returns { rules, picks }; give the rules to scatter of @adatechnology/game-vegetation. Every number is an option (n, draws, skipArchetypes, maxCount by group, treeDensity, groupRules, classify).

const { rules } = scatterRulesFor(regions.br, 'front_yard', 'quintal-1', { n: 12, noLarge: true, maxCount: { trees: 1, hedges: 10, mid: 14, ground: 40 } })
const placements = scatter({ rect: { x: 0.5, z: 0.5, w: 11, d: 5.6 } }, rules, { seed: 'quintal-1:f:0' })

Contexts: front_yard, backyard, sidewalk_tree, square, vacant_lot, indoor, semiarid.

Em português

Pacote de conteúdo em JSON com 71 espécies, nomes e descrições em pt-BR e en, e tabelas de plantio por região (br e default).