confgen VS json5-spec

Compare confgen vs json5-spec and see what are their differences.

confgen

Generate repetitive configs for vite, typescript, eslint, etc (by erikpukinskis)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
confgen json5-spec
3 7
2 49
- -
0.0 2.2
over 1 year ago 12 months ago
TypeScript HTML
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

confgen

Posts with mentions or reviews of confgen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-02.
  • JavaScript Gom Jabbar
    12 projects | news.ycombinator.com | 2 Jul 2023
    FWIW, I have a side project, confgen https://github.com/erikpukinskis/confgen, which tries to help with this.

    Assuming it’s an app (and not a library) get what you are describing you would run:

        npx confgen@latest @app vite typescript eslint prettier react
  • The Node ecosystem (still) has tooling problems
    4 projects | news.ycombinator.com | 30 Jul 2022
    It’s still early days, but I have been working on this…

    There are scaffolding tools that help configure all the JavaScript frontend stuff you need, but the problem is you run them once and you can’t ever run them again to change/add stuff.

    So I built Confgen which is sort of like create-react-app except it’s idempotent:

    https://github.com/erikpukinskis/confgen

    It’s very alpha, but I would love to get ideas/ bug reports on GitHub.

    It’s also currently Vite-only, but I’m open to a possible webpack/babel mode in the future.

  • [AskJS] What is the best way to create a common npm package for building others?
    6 projects | /r/javascript | 6 Apr 2022
    I made my own for exactly the reasons you cite: https://github.com/erikpukinskis/confgen but it’s extremely opinionated and very alpha. Basically, if you are working in the cluster of Vite, TypeScript, Apollo, etc it will work but it doesn’t work with anything else.

json5-spec

Posts with mentions or reviews of json5-spec. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-05.
  • Building a high performance JSON parser
    19 projects | news.ycombinator.com | 5 Nov 2023
  • TySON: a native go library that lets you use TypeScript as an embedded configuration language without depending on Node or V8
    5 projects | /r/golang | 6 Jul 2023
    One of the larger issues I've run into is duplicates. Douglas Crockford, JSON's inventor, tried to fix the duplicate issue but it was decided it was too late. Although Douglas Crockford couldn't change the spec forcing all implementations to error on duplicate, his Java JSON implementation errors on duplicates. Others use last-value-wins, support duplicate keys, or other non-standard behavior. The JSON RFC states that implementations should not allow duplicate keys, notes the varying behavior of existing implementations, and states that when names are not unique, "the behavior of software that receives such an object is unpredictable." Duplicate fields are a security issue, a source of bugs, and a surprising behavior to users. See the article, "An Exploration of JSON Interoperability Vulnerabilities" Disallowing duplicates conforms to the small I-JSON RFC, which is a stricter JSON. The author of I-JSON, Tim Bray, is also the author of JSON RFC 8259. See also the JSON5 duplicate issue.
  • JavaScript Gom Jabbar
    12 projects | news.ycombinator.com | 2 Jul 2023
  • SQLite Release 3.42.0
    3 projects | news.ycombinator.com | 16 May 2023
    Virtually any sequence is not the same as adopting a specification five years after it’s been published and adopted by industry: https://spec.json5.org/

    I appreciate that SQLite can’t write the format, because those changes are human afordances

  • The yaml document from hell
    8 projects | /r/programming | 12 Jan 2023
    That's why you pick a superset of JSON that already has some adoption, like JSON5: https://spec.json5.org/
  • Don't Pickle Your Data
    3 projects | news.ycombinator.com | 11 Aug 2022
    The "dual" standard RFC 8259 [1] (both are normative standards under their respective bodies, ECMA and IETF) is also a useful comparison here. It's wording is a bit stronger than ECMA's, though not by much. ("Good interoperability" is its specific call out.)

    It's also interesting that the proposed JSON 5 (standalone) specification [2] doesn't seem to address it at all (but does add back in the other IEEE 754 numbers that ECMA 404 and RFC 8259 exclude from JSON; +/-Infinity and +/-NaN). It both maintains that its numbers are "arbitrary precision" but also requires these few IEEE 754 features, which may be even more confusing than either ECMA 404 or RFC 8259.

    [1] https://datatracker.ietf.org/doc/html/rfc8259#section-6

    [2] https://spec.json5.org/#numbers

  • JSON Creator Douglas Crockford Interview
    1 project | news.ycombinator.com | 27 Jul 2022
    For anyone coming back to this, I just wrote a small proposal to define JSON5 duplicate object name behavior. I'd love any support on the issue:

    https://github.com/json5/json5-spec/issues/38

What are some alternatives?

When comparing confgen and json5-spec you can also consider the following projects:

scripts-to-rule-them-all - Set of boilerplate scripts describing the normalized script pattern that GitHub uses in its projects.

aqua - Declarative CLI Version manager written in Go. Support Lazy Install, Registry, and continuous update with Renovate. CLI version is switched seamlessly

generate-package - Use as a sub-generator or plugin in your generator to create a package.json for a project. Or install globally and run with Generate's CLI.

tyson - 🥊 TypeScript as a Configuration Language. TySON stands for TypeScript Object Notation

tsParticles - tsParticles - Easily create highly customizable JavaScript particles effects, confetti explosions and fireworks animations and use them as animated backgrounds for your website. Ready to use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot and Web Components.

jsb - Fast json <=> binary serializer library for C

tsdx - Zero-config CLI for TypeScript package development

lua-sandbox - A lua sandbox for executing non-trusted code

web.dev - The frontend, backend, and content source code for web.dev

parcel - The zero configuration build tool for the web. 📦🚀

go-jsonschema - A tool to generate Go data types from JSON Schema definitions.