ipfs
moment
Our great sponsors
ipfs | moment | |
---|---|---|
29 | 97 | |
7,434 | 47,790 | |
- | 0.1% | |
8.7 | 7.2 | |
11 months ago | 24 days ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | 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.
ipfs
-
Amino – The Public IPFS DHT Is Getting a Facelift
I don't mind pinning, but back in the day I was having issues using IPFS to transfer small files between devices. I admit I haven't investigated to see if the problems were ever resolved.
I've been watching https://github.com/ipfs/helia which is going to replace https://github.com/ipfs/js-ipfs and hoping they can get an IPFS node working in the browser.
-
IPFS as traffic spike deterrent
I haven't tried https://js.ipfs.tech/ (js-ipfs) in a while, what is the state of it?
-
Activity Pub vs. Web Frameworks
On the topic of IPFS, but also slightly tangential -- how has nobody written an Activity Pub client/server in Javascript and distributed it as a Browser Addon?
If IPFS can be literally hosted via a Firefox Extension[1], how has nobody done the same for an arguably easier protocol like Activity Pub?
1: https://github.com/ipfs/js-ipfs
-
Opinion about an application built using IPFS
If you can load them up in js-ipfs that might be better?
-
How to store your app's entire state in the url
Store the content in ipfs and just put the hash in the URL? I haven't used https://github.com/ipfs/js-ipfs in this capacity but I'm under the impression that that's what it's supposed to do.
-
I wish I could "seed" a server like a torrent, has there been any work to make this possible?
js.ipfs.tech
-
Paying with Node.js
You need an import statement instead of require since Node has upgraded to the new module system. Use import * as IPFS from 'ipfs-core'. Read more here: https://github.com/ipfs/js-ipfs
-
Generating a CID on the frontend, and then passing the files to the backend to be pinned.
Please take a look at https://github.com/ipfs/js-ipfs/blob/master/docs/core-api/FILES.md for more understanding
-
Public CDNs Are Useless and Dangerous
You could include js-ipfs[0] and fetch all your resources from IPFS without going through a gateway. However, this approach would make the site fully dependent on JavaScript.
A PWA with a Service Worker could perhaps implement its own client-side "gateway", translating public gateway URLs into direct IPFS access. Without the Service Worker (or without JS) it would fall back to using the gateway.
[0] https://js.ipfs.io/
-
IPFS-GATEWAY.CLOUD IPFS GATEWAY for Decentralized Internet
Of course,You can try it out. You can create some Hash to IPFS from this link Adding data to IPFS https://js.ipfs.io/ and then browse the hash in https://ipfs-gateway.cloud/ It is directly connected to IPFS Node.
moment
-
How to Convert String to Date in JavaScript
To learn more about Moment.js, please visit their official website.
-
8 NPM Packages for JavaScript Beginners [2024][+tutorials]
Ah, Moment.js, the guardian angel of date and time manipulation. Ever needed to format a date, calculate durations, or display something like "2 days ago"? Moment.js has got your back. It's a lifesaver for anything date and time-related, making it a must-have in your project, especially if you're into making your users feel like you really get them.
-
Adding "Created At" and "Last Updated" Dates to Jekyll
After hours of trying to figure out why Jekyll was still showing "Today" for a post I modified last week, I remembered that I am using the timeago filter from jekyll-timeago plugin. I was rendering the dates using {{ doc.last_modified_at | timeago }}. As you know, Jekyll is a static site generator, and it renders this as HTML at the time of build, and only then. This means any date rendered with timeago is hardcoded as is in the HTML and won't change until the next build. I switched all the dates to the "%-d %b %y" format for now. Might use moment.js in the future to get the timeago dates back.
-
The 20 most used React libraries
moment: Handles date and time manipulations with ease. Learn more
-
👨🚀 Traversing Time with Intl.RelativeTimeFormat()
For the longest time working with dates in JavaScript was a huge pain. That’s why libraries such as moment.js or date-fns are so popular. A lot of times I’d reach for these libraries when working with relative time formatting, but since late last year we’ve had pretty great browser support for the RelativeTimeFormat() method. In my mind, relative dates are just more visually appealing, especially for working with dates internationally. Dates like "5 days ago" or "in 2 months" are far more intuitive for users than 12/12/2023, or 03/11/2027. Folks in the US will see that as March 11, 2027, whereas the rest of the world will see that as November 03, 2027. What a nightmare.
-
Best date library to handle timezones in React Native?
İ am using moment js for a long time. You can check it also. https://momentjs.com/
-
JS Date: The Timezone Tantrum
We could control the DST flip by setting the test's input time to the appropriate time of year (summer/winter). However we couldn't control the timezone. We had to adjust the expected data in the test 🤢 using the same library which the production code used (momentjs).
- is there a date calculate script/libary ?
-
Top 10 "Must Have" Repositories for Web Developers
8. Moment.js
-
You don't need zero JS website for a perfect Lighthouse score
This may sound a bit general but we can't forget about well-tought code. If we are using a lot of external dependencies, we can check if there aren't many lighter alternatives. Example? Some people are still using moment.js for date formatting. Why not use a lightweight 2kb alternative instead? Writing clean, organized and maintainable code won't give us a huge score boost but we are trying to save every byte of data, right? 😉
What are some alternatives?
webtorrent - ⚡️ Streaming torrent client for the web
dayjs - ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
dat - :floppy_disk: peer-to-peer sharing & live syncronization of files via command line [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
date-fns - ⏳ Modern JavaScript date utility library ⌛️
kad
dateformat - A node.js package for Steven Levithan's excellent dateFormat() function.
speed-test - Test your internet connection speed and ping using speedtest.net from the CLI
Luxon - ⏱ A library for working with dates and times in JS
turf - A modular geospatial engine written in JavaScript and TypeScript
moment-timezone - Timezone support for moment.js
go-ipfs-api - The go interface to ipfs's HTTP API
timeago.js - :clock8: :hourglass: timeago.js is a tiny(2.0 kb) library used to format date with `*** time ago` statement.