Socket
Socket
Sign inDemoInstall

organizer-core

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

organizer-core

Core modules for organizer


Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Core modules for organizer project

  • Rest
  • Jwt
  • Common

Usage example

import express from 'express'
import { Rest } from 'organizer-core'

// Create express application
const app: express.Application = express()

app.use(express.json())

// Get basic routes: "/" and "not found"
app.use(Rest.getBaseRouter('my app', '0.1'))

// Use the provided error middleware
app.use(Rest.Middleware.errorMiddleware)

export default app

Development

Commands

Run all tests: npm run test

Run all tests and put coverage results in /coverage folder: npm run coverage

Build the package (/dist folder): npm run build

FAQs

Package last updated on 06 Jul 2020

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