Socket
Socket
Sign inDemoInstall

@action-agenda/cached-apis

Package Overview
Dependencies
19
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @action-agenda/cached-apis

Local caching and lookup of rarely changed SCBD apis


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
10.5 MB
Created
Weekly downloads
 

Readme

Source

sidebarDepth: 2

Cached APIs

Description

A locally cached version of SCBD's most static API's.

Install


yarn add @action-agenda/cached-apis


npm install @action-agenda/cached-apis

initializeApiStore = (opts = {})

initializes the local store (IndexedDB/WebSQL/local storage) depending on client.

Properties: (options:Object)

<<< @/packages/cached-apis/src/default-options.mjs#options

Options: apisUrls

<<< @/packages/cached-apis/src/default-options.mjs#apisUrls

Options: dataSources

<<< @/packages/cached-apis/src/default-options.mjs#dataSources

getData = async (dataSource, noCache=false)

lookUp = async(dataSource, keys, single=false)

Data References

Action Categories


{{actionCategories}}

Thematic Areas


{{subjects}}

Government Types


{{govTypes}}

Organization Types


{{orgTypes}}

Regions


{{regions}}

Aichi Biodiversity Targets


{{aichis}}

SDG's


{{sdgs}}

Countries


{{countries}}

Jurisdictions


{{jurisdictions}}

Example


.aaexamp{ padding: 3em 3em 3em 3em; background-color: rgb(38, 90, 79); } .aaexamp .inner{ padding: 5em 5em 5em 5em; background-color: white; } .aaexamp-header{ max-width: 740px; margin: 0 auto; padding: 2rem 2.5rem; }

FAQs

Last updated on 27 Jul 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc