Socket
Socket
Sign inDemoInstall

@internetarchive/ia-js-client

Package Overview
Dependencies
68
Maintainers
6
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@internetarchive/ia-js-client


Version published
Weekly downloads
659
decreased by-21.17%
Maintainers
6
Install size
230 kB
Created
Weekly downloads
 

Readme

Source

WIP ia-js-client

This is a WIP. Still under development, but some some initial progress has been made.

Code notes

It is written in TypeScript and can be built like this:

# If you have tsc installed globally
tsc

# OR using yarn
yarn run build

JavaScript's async is used heavily, which makes the client very asynchronous.

General overview

This could be a the Archive.org JavaScript SDK

Features it should have:

  • Read/Write APIs

    • Metadata
    • loans
  • Search

  • Upload

  • Download

// TODO

  • use rollup to build web version

Structure

/services - each service is a thin wrapper for an Archive.org API

/controllers - represents a more abstract feature, such as an "Item" can have helpers like, get audio tracks

Ideas

Maybe have a global config?

This would allow things like login credentials, and maybe globally changing the API base for all APIs

FAQs

Last updated on 04 Feb 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc