pluralize
madatdata
Our great sponsors
pluralize | madatdata | |
---|---|---|
1 | 2 | |
2,103 | 6 | |
0.6% | - | |
4.8 | 7.4 | |
5 months ago | 10 months ago | |
JavaScript | TypeScript | |
MIT License | Apache License 2.0 |
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.
pluralize
-
Tuql: Automatically create a GraphQL server from a SQLite database
> The primary key column is named id or thing_id or thingId, where thing is the singular form of the table name.
Is it naming relations in plural a common thing in practice?
I thought best-practice was to name relations either singular (as each tuple represents one entry) or uninflected (still singular for most words), specially when you're not a fluent speaker of the language being used to name the relations of the database.
Plurals are often irregular for commonly used words, and the fact that this requires a external dependency ( https://github.com/plurals/pluralize ) to cover for some "common plurals" is telling that supporting this feature is a complex thing indeed - that would not be required in the first place with singular everywhere.
madatdata
-
Tuql: Automatically create a GraphQL server from a SQLite database
You might like what we're building with Seafowl [0], which is an open-source, single binary database you can deploy to the edge for executing cache-friendly queries (so e.g. you can deploy to fly.io free tier, load your data into it, and put Cloudflare in front of it to cache query results like any other HTTP response).
Here's an example [1] multi-page site with Next.js and Seafowl.
[0] https://seafowl.io/docs/getting-started/introduction
[1] https://github.com/splitgraph/madatdata/tree/main/examples/r...
-
How to start a React Project in 2023
If you're interested, this is the "absolute minimum" React project I was able to create, using `esbuild` (see `dev.mjs`) and some .html files. [0] It's a sub-package in a larger workspace, so there is some complexity inherited from the monorepo in terms of tsconfig.json and dependency management, but you can ignore that; the esbuild part was pleasantly simple to implement, and it pretty much "just works," such that each file in `www` is an entrypoint with one corresponding script from `pages/` that calls `createRoot(container).render()`.
[0] https://github.com/splitgraph/madatdata/tree/main/packages/t...
What are some alternatives?
tuql - Automatically create a GraphQL server from a SQLite database or a SQL file
react.dev - The React documentation website
datasette-graphql - Datasette plugin providing an automatic GraphQL API for your SQLite databases
profane-words - A very long list of English profanity.
Tailwind CSS - A utility-first CSS framework for rapid UI development.
datasette - An open source multi-tool for exploring and publishing data
craco - Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
corpora - A collection of small corpuses of interesting data for the creation of bots and similar stuff.
ilo_nimi_pi_toki_pona - A chrome extension for looking up Toki Pona words
core - 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.