fredkschott / analyze-npm Goto Github PK
View Code? Open in Web Editor NEWAnalyze npm, hunt for es module packages
License: Other
Analyze npm, hunt for es module packages
License: Other
Reading the pika website it seems packages are filtered by the module
key which is an (unofficial) convention. This mean dual-mode packages are not included in pika right? It would be good to include these.
#!/bin/sh
curl https://replicate.npmjs.com/registry/_design/scratch/_view/byField > ./data/byField.in.graph
Doesn't download anything
Hi,
I thought it might be insightful to parse npm run scripts in a package.json to figure out the most used tools.
If that is do-able, it would make for some beautiful data.
Neat site!
Not sure if this is the best place to request this, but it would also be extremely helpful for TypeScript developers to be able to search for npm packages with a typings
property in their package.json
. This indicates that the package includes type declarations.
It would be great to learn more about these packages, and the state of ESM on npm overall.
Now when Node has support for modules, some packages started to care about ESM version.
It turns out the "module"
field isn't always the best solution, because of webpack.
See for example this PR where it was decided to remove it: markedjs/marked#1571 (comment)
Also I found this article relevant: https://2ality.com/2019/10/hybrid-npm-packages.html
@FredKSchott would you consider adding more ways to discover ESM packages?
This is important for me as a library maintainer: I was hoping to get @pika/web
and CDN support when upgrading to ESM version of dependency, but so far I'm out of luck.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.