Socket
Socket
Sign inDemoInstall

@hindawi/lib-wos-data-store

Package Overview
Dependencies
12
Maintainers
18
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @hindawi/lib-wos-data-store

A set of utility functions that help managing an OpenSearch cluster used for ingesting authors data from Web of Science.


Version published
Maintainers
18
Install size
2.68 MB
Created

Readme

Source

lib-wos-data-store

A set of utility functions that help managing an OpenSearch cluster used for ingesting authors data from Web of Science.

Usage

import { initialize } from '@hindawi/lib-wos-data-store/wosDataRepository'

Later, you should call the initialize function as initialize({ config }) where config is an instance of https://www.npmjs.com/package/config.

Your config set-up should take a set of properties under this form:

wos: {

    elasticsearch: {

        node: '[opensearch-node-endpoint]',

        index: '[opensearch-index-name]',

        username: '[opensearch-auth-username]',

        password: '[opensearch-auth-password]',

    },

},

The previous described function call will return an object containing these methods:

  • indexWoSAuthors
  • searchWoSAuthors
  • getWoSProfilesByEmailOrOrcid
  • deleteWoSProfilesByManuscript
  • indexIngestedFiles
  • getLastIngestedFileDetails

For more granular technical details about the functionality, you may read the source code located inside src/lib/wosDataRepository.js.

FAQs

Last updated on 28 Oct 2022

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