New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@obi-tec/common-libs

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@obi-tec/common-libs

A simple library to implement standard libs that are used by express APIs

  • 1.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Common Libs

🚀 A simple library to implement standard libs that are used by express APIs

🏁 Content


Install

npm install @obi-tec/common-libs

See all tags clicking here.

Usage

Axios Library

Implementation of axios library to log all sent requests and their respective duration.

const { axios } = require('@obi-tec/common-libs');

const options = {};
await axios.default.get(url, options);
Node-Cache Library

Implementation of node-cache library to create a helper function to get and set.

const { cache } = require('@obi-tec/common-libs');
const key = 'cache-key';
cosnt ttl = 300; // 5 minutes

cache.set(key, 'value', ttl);
cache.get(key);

Status

🚧 Open for contribuitions... 🚧

Keywords

FAQs

Package last updated on 09 Nov 2023

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc