0.97.8 • Published 2 days ago

@snaplet/seed v0.97.8

Weekly downloads
-
License
FSL-1.1-MIT
Repository
-
Last release
2 days ago

No data? No problem!

Automatically seed your database with production-like dummy data based on your schema for local development and testing.

Automated values

Automated relationships

Seed automatically creates relational entities so you don’t have to keep track of IDs in one table when you’re defining values in another.

Type-safe by default

await seed.posts([{
  title: "Why you need Seed",
  author: {
    email: "snappy@snaplet.dev",
  },
  comments: (x) => x(3),
}]);

Seed creates a TypeScript client based off your database structure. Values are safe, and soft documented. You have the full power of the typescript language and the rich node.js infrastructure when seeding production-like data and defining data values.

Deterministic data

Seed uses Copycat for its data generation functions, and all data generation is fully deterministic. That means if you use the same inputs, you'll always get the same data outputs. That makes seed great for consistent tests and development.

Try out Seed

npx @snaplet/seed init

Learn more by reading our documentation.

0.97.6

3 days ago

0.97.7

2 days ago

0.97.8

2 days ago

0.97.3

3 days ago

0.97.4

3 days ago

0.97.5

3 days ago

0.97.2

4 days ago

0.97.0

5 days ago

0.96.1

10 days ago

0.96.0

12 days ago

0.95.1

13 days ago

0.95.0

13 days ago

0.94.1

19 days ago

0.94.0

19 days ago

0.93.0

24 days ago

0.92.0

26 days ago

0.92.1

26 days ago

0.92.2

25 days ago

0.91.1

28 days ago

0.91.0

1 month ago

0.90.0

1 month ago

0.89.6

1 month ago

0.89.5

1 month ago

0.89.4

2 months ago

0.89.3

2 months ago

0.89.0

2 months ago

0.89.1

2 months ago

0.89.2

2 months ago

0.88.2

2 months ago

0.88.0

3 months ago

0.87.2

3 months ago

0.87.3

3 months ago

0.87.1

3 months ago

0.87.0

3 months ago

0.86.3

3 months ago

0.86.0

3 months ago

0.86.1

3 months ago

0.86.2

3 months ago

0.85.2

3 months ago

0.85.0

3 months ago

0.84.0

3 months ago

0.83.2

3 months ago

0.83.1

4 months ago

0.83.0

4 months ago

0.82.0

4 months ago

0.82.1

4 months ago

0.81.1

4 months ago

0.80.0

4 months ago

0.81.0

4 months ago

0.79.2

4 months ago

0.79.1

4 months ago

0.79.0

4 months ago

0.78.3

4 months ago

0.77.4

4 months ago

0.78.0

4 months ago

0.78.1

4 months ago

0.77.3

4 months ago

0.77.2

5 months ago

0.77.1

5 months ago

0.77.0

5 months ago

0.76.4

5 months ago

0.76.3

5 months ago

0.76.2

5 months ago

0.76.1

5 months ago

0.76.0

5 months ago