Socket
Socket
Sign inDemoInstall

@humblejs/core

Package Overview
Dependencies
373
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @humblejs/core

Core packages shared between humblejs server and client


Version published
Weekly downloads
23
decreased by-66.67%
Maintainers
2
Install size
24.7 MB
Created
Weekly downloads
 

Readme

Source

Core

Core packages shared between humblejs server and client

A lot of these packages are used in the server and can be shared in micro services.

Install

yarn add @humblejs/core

Modules

  • AppProvider (app-provider.js) - HOC for application (root of application that contains all the information including auth)
    • appContext - Consumer for AppProvider
  • AuthProvider (auth-provider.js) - HOC for auth related stuff
    • withAuth - Consumer for AuthProvider
  • CronBase (cron.js)
  • Logger (logger.js)
  • EnvUtils (load-env.js) - Load and override any environment variables from various places with priority.
  • PageDefinitions (pagedef.js)
  • snooze() (snooze.js)
  • PasswordUtils (password.js)
  • Microservice (microservice.js) - Microservice class that is used to register all the service mini-functions
    • MicroserviceMessageBus - Microservice channel bus responsible to talk to microservice (using HTTP protocol)
    • createChannels - utility to create microservice channel bus.
  • Model (model.js) - Core of any database model that automatically provide ability to CRUD the record.
  • DatabaseManager (db.js) - The core of database manager providing utility functions to query and update/insert/delete. You should not need this if you use Model as it is wrapped in it.

FAQs

Last updated on 08 May 2024

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