casual
chance.js
casual | chance.js | |
---|---|---|
4 | 6 | |
3,024 | 6,385 | |
- | 0.1% | |
0.0 | 4.5 | |
10 months ago | 10 days ago | |
JavaScript | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
casual
-
Show HN: UI Filler – placeholders for your designs
Faker looks cool! We've been using Casual [0] for ages but Faker looks more featureful and more actively maintained.
0: https://github.com/boo1ean/casual
-
How to Mock an API with random data from NodeJS
In order to create the mockserver we need 2 npm dependencies. json-server and casual so we run npm install json-server casual --save-dev in our project.
-
📦 Top alternatives for "colors" and "faker"
https://npm.im/casual (57k weekly downloads) https://github.com/boo1ean/casual (2.8k stars)
-
Generating Fake Data for Dashboards and Data Visualizations
In the past, I have relied on Google Sheets and a combination of array formulas, vlookups, random value generators to create fake datasets. This approach worked for small, one off datasets. Any time I needed to generate more than 1000 records or needed to update a dataset, this approach proved to be tedious. I also explored Faker and Casual (both of which are fantastic tools) but found that the data they generate was too abstract and that the implementation wasn't ideal for large datasets. I wanted a tool that:
chance.js
- Is there a package that calculates chance?
-
How can I globally import a module (not CSS)?
declare global { interface String { pascalToWords: () => string; } // Chance is a fake data generator, https://chancejs.com // Dayjs is a date utility that has its own type, https://day.js.org/ namespace Chance { export interface DayjsOptions { min: Dayjs; max: Dayjs; } export interface Chance { dayjs: (params?: Partial) => Dayjs; } } }
-
Is there a repository of commonly-used arrays anywhere?
You might have some luck initialising your own arrays with data from chance. There’s a good amount of data in there that you could use.
-
📦 Top alternatives for "colors" and "faker"
https://npm.im/chance (589.3k weekly downloads) https://github.com/chancejs/chancejs (5.8k stars)
-
A new modern and tree-shakeable version of Faker.js
- https://www.npmjs.com/package/chance
-
How to Make a Scrollable List in HTML & CSS
If you're wondering about the code behind the card and the data, then I've sprinkled some Vue 3 in it along with ChanceJS and Lorem Picsum for random name and image generation. And of course a neat amount of simple CSS :)
What are some alternatives?
Faker.js - What really happened with Aaron Swartz?
Numeral-js - A javascript library for formatting and manipulating numbers.
typeorm-seeding - 🌱 A delightful way to seed test data into your database.
mathjs - An extensive math library for JavaScript and Node.js
faker - Generate massive amounts of fake data in the browser and node.js
odometer
plop - Consistency Made Simple
community-faker - Generate massive amounts of fake contextual data
data-spring - Easily generate a dummy dataset based on a provided config
Polynomial.js - A JavaScript library to work with polynomials
faker.js - Generate massive amounts of fake data in the browser and node.js [Moved to: https://github.com/faker-js/faker]
currency.js - A javascript library for handling currencies