
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@chlodalejandro/iajs
Advanced tools
Internet Archive JavaScript Client which supports reading and writing data in NodeJS and the Browser
The Internet Archive is a non-profit open platform for archiving the world's free websites, books, movies, software, music, and more.
This JavaScript library enables reading and writing to the Internet Archive APIs in NodeJS and in the browser. To learn more about the Internet Archive visit https://archive.org/about/.
It's lightweight with very little dependencies.
The major APIs are documented here https://archive.org/services/docs/api/index.html, but this library supports additional APIs to enable more functionality. It does not abstract much from the APIs, but rather aggregates access to them all in a single multi-purpose library.
This library contains enough functionality to create powerful experiments and new experiences using the Internet Archive's platform and data.
Through npm
npm i iajs
Load from CDN in browser
<script src="https://unpkg.com/iajs/dist/ia.browser.js"></script>
https://rchrd2.github.io/iajs/examples/web/01.html
<script src="https://unpkg.com/iajs/dist/ia.browser.js"></script>
<script>
ia.GifcitiesAPI.search("snowglobe").then(console.log);
ia.MetadataAPI.get({
identifier: "mma_the_sphynx_and_great_pyramid_geezeh_271101",
}).then(console.log);
ia.SearchAPI.get({
q: {collection: "metropolitanmuseumofart-gallery"},
fields: ["identifier", "title"]
}).then(console.log);
</script>
npm i
node examples/node/01-hello.js
# this will ask you to sign in and create a login config file for other examples
node examples/node/02-login.js
node examples/node/03-reviews.js
# and so on...
Note: I wanted to build this while I worked at Internet Archive, but did not have the bandwidth. Now I'm working on this in my free time.
See Also:
Screenshot of web usage example
FAQs
Internet Archive JavaScript Client
The npm package @chlodalejandro/iajs receives a total of 1 weekly downloads. As such, @chlodalejandro/iajs popularity was classified as not popular.
We found that @chlodalejandro/iajs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.