rosiejs/rosie
factory for building JavaScript objects, mostly useful for setting up test data. Inspired by factory_girl observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5619
- days_rel: n/a
- days_push: 891
- n_releases_24m: 0
Adoption not part of the score
1057 stars · 92 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Rosie is a JavaScript library for defining factories that build test data objects, inspired by factory_bot (factory_girl). Factories support attributes, sequences, options, callbacks, and inheritance, making it easy to generate consistent test fixtures.
Use cases
- generate test fixtures for unit tests
- build JavaScript objects with default attributes for testing
- create factory-based test data like factory_bot in JavaScript
- seed databases with realistic test objects
- define reusable object blueprints with sequences and overrides
When to choose
- you need lightweight test data factories in JavaScript or Node.js
- you want factory_bot-style fixtures without a heavy framework
- your tests need repeatable objects with sequences and defaults
When to avoid
- you need fake data generation like names or addresses (use faker instead)
- you are testing in another language with native factory libraries
- you need snapshot or mock-server tooling rather than object factories
Facets
library · maturity stable
testing mocking data-generation testing developer-tools cross-platform test-data factory-pattern fixtures object-builder nodejs javascript
2 sources
- readme: https://github.com/rosiejs/rosie · fetched 2026-08-28 · 005caee3d366
- registry_npm: https://registry.npmjs.org/rosie · fetched 2026-08-29 · fef12aabcf73
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rosiejs/rosie | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem