fs VS construct-stylesheets

Compare fs vs construct-stylesheets and see what are their differences.

Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
fs construct-stylesheets
8 8
272 137
1.8% 0.0%
3.3 0.0
19 days ago almost 3 years ago
HTML Bikeshed
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
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.

fs

Posts with mentions or reviews of fs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-07-17.
  • Notion about their usage of WASM SQLite
    5 projects | news.ycombinator.com | 17 Jul 2024
    > OPFS doesn’t come with graceful handling of concurrency out of the box. Developers should be aware of this and design around it.

    There's a multiple readers and writers proposal [0]. It's been "position: positive" by Firefox [1], implemented in Chrome [2], and ignored by Webkit [3] (of course).

        0: https://github.com/whatwg/fs/blob/main/proposals/MultipleReadersWriters.md
  • persistent storage API on Firefox temporary extension
    1 project | /r/learnjavascript | 24 Jul 2023
    You can use File System Standard https://fs.spec.whatwg.org/ to write data for that origin (Firefox doesn't implement File System Access API, nonetheless a File object can still be written to local disk using File API).
  • I spent two years building a desktop environment that runs in the browser, it's finally in beta!
    6 projects | /r/programming | 9 Jul 2023
    Both Firefox and Chromium (Chrome) have implemented WHATWG File System Standard.
  • SQLite WASM in the Browser Backed by the Origin Private File System
    17 projects | news.ycombinator.com | 12 Jan 2023
    Can you just slow down for a moment and focus on what you said?

    > We're literally in the discussion about File System API that is:

    > - not on any standards track

    As others have pointed out the standard is here:

    https://fs.spec.whatwg.org/

    > - considered harmful by other browser vendors

    It is literally being drafted in conjunction by all the major browsers.

    > - shipped by default in Chrome

    So what? I for one am thankful that Chromium enables features earlier than other browsers. If you don't want the Chromium implementation then don't use it.

  • Show HN: I built a WASI playground for running CLI binaries in the browser
    11 projects | news.ycombinator.com | 9 Oct 2022
    Score another point for memfs, the in-memory node.js fe impl.

    WHATWG recently took up File System Access spec as their FS spec. It both looks semi promising, but they seem to only care about & are only building specs for specifically emscripten wasm users. Only sync apis, only usable from dedicated workers... there's some hopes for more latter but feels super weird to see the web finally get fs access & have it be fast... but for it to be extremely odd shaped hand tailored to a very narrow class of use.

    https://fs.spec.whatwg.org/

  • Learn Postgres at the Playground
    9 projects | news.ycombinator.com | 17 Aug 2022

construct-stylesheets

Posts with mentions or reviews of construct-stylesheets. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-11-01.
  • Direct Sockets API in Chrome 131
    12 projects | news.ycombinator.com | 1 Nov 2024
  • Safari releases are development hell
    6 projects | news.ycombinator.com | 3 Apr 2023
    > With adoptedStyleSheets they're objecting to making backwards incompatible changes

    Which would not be bacwards incompatible if they hadn't shipped something that wasn't agreed on in the first place.

    Again, slowly: they literally shipped that to production despite loud and explicit objecitons from both Firefox and Safari they shipped it to production. When asked to hide it back behind the flag, "but backwards incompatible change, the framework we're developing is already depending on it"

    And since you're quoting rniwa, here's the relevant quote https://github.com/WICG/construct-stylesheets/issues/45#issu...:

    --- start quote ---

    I feel like I’ve put so much time & energy into making this feature something sane & useful, and all you did was basically to dismiss many of my feedbacks and go with whatever you like and just ship it. And now you’re saying you can’t make changes because you shipped it?

    I’m sorry but that’s just not how standards work.

    --- end quote ---

    > With WebMIDI they're saying they want to do an announcement before making the change.

    Indeed. Once again: because they shipped an API that neither Safari nor Mozilla supported. Now that this issue has surfaced (no thanks to Chrome), they can't just roll it back or fix it because people already rely ono this behaviour, which the implicitly acknowledge.

  • W3C re-launched as a public-interest non-profit organization
    2 projects | news.ycombinator.com | 31 Jan 2023
    It's not true, to w3c's surprising credit.

    What Google does, is publish a "draft" which is as far from a standard as their authors are from the Moon. This gives Chrome the leeway to call it an "emerging standard" and just ship it. It doesn't care if there are objections, or that other browser vendors will not implement it. It's now a "standard" in Google's dictionary.

    For something to become a W3C standard even in the present world, you need a consensus and at least two independent implementations. None of that exists for stuff Google pushes out (hardware APIs, web transport, constructible stylesheets [1], the list goes on...).

    The correct name for those is Chrome-only non-standards.

    [1] These one isn't even a draft. It is.... "a collection of interesting ideas" in a working group https://wicg.github.io/construct-stylesheets/ Shipped by default in Chrome, of course

  • SQLite WASM in the Browser Backed by the Origin Private File System
    17 projects | news.ycombinator.com | 12 Jan 2023
    I literally provided just some of the examples. Those are easily verifiable.

    Web Transport is shipped by default. What was the input from other browser?

    Here's the timeline for HID: https://github.com/mozilla/standards-positions/issues/459#is...

    Constructible Stylesheets: the spec contained a trivially reproducible race condition, the API was badly specified. Google shipped against any objections and refused to bring it back under the flag. Full discussion here: https://github.com/WICG/construct-stylesheets/issues/45. Shipped in Chrome https://github.com/WICG/construct-stylesheets/issues/45#issu... (may be hidden on mobile) despite multiple unresolved issues. Two years later Chrome did add a better API that people originally requested, other issues potentially remain.

  • Apple Is Not Defending Browser Engine Choice
    8 projects | news.ycombinator.com | 24 Jun 2022
  • “Safari's buggy” is valid criticism. “Safari's behind Chrome in features” is not
    2 projects | news.ycombinator.com | 31 Jul 2021
    > The negatives are often theoretical

    They are not theoretical. Too bad webapicontroversy.com has been shut down (it looked like this [1]), but you can scroll down to "defer" and "considered harmful" in Mozilla's positions here: [2]

    There are more, of course, but they are not visible unless you're willing to follow thousands of issues across hundreds of GitHub repositories. One that springs to mind is, of course Constructible Stylesheets. Mozilla and Safari: the spec describes an algorithm that leads to deadlock in trivial code, we wont implement it until this is fixed. [3] Chrome: ship it, because lit-html (developed by Google) wants it and is already using it. And then procedes to gaslight people and misrepresent their positions (cant' find the relevant link, but at this point I can't find the will to dive into the cesspool).

    [1] https://user-images.githubusercontent.com/32768/108985355-3f...

    [2] https://mozilla.github.io/standards-positions/

    [3] https://github.com/WICG/construct-stylesheets/issues/45#issu...

What are some alternatives?

When comparing fs and construct-stylesheets you can also consider the following projects:

runno - Sandboxed runtime for programming languages and WASI binaries. Works in the browser or on your server.

interop - web-platform-tests Interop project

secure-file-transfer - A library to encrypt and transfer files P2P in the browser

file-handling - API for web applications to handle files

file-system-access - Expose the file system on the user’s device, so Web apps can interoperate with the user’s native applications.

Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured