Socket
Book a DemoInstallSign in
Socket

skyeye-svc-common-utils

Package Overview
Dependencies
Maintainers
6
Versions
554
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skyeye-svc-common-utils

This is the common utils for SkyEye service projects, It includes multiple utils, middilewares, authentications, some common interfaces.

1.0.132
latest
Source
npmnpm
Version published
Weekly downloads
104
-50.71%
Maintainers
6
Weekly downloads
 
Created
Source

SkyEye-SVC-Common-Utils

This is the common utils for SkyEye service projects, It includes multiple utils, middilewares, authentications, some common interfaces.

GRPC

This command to build .proto files for Typescript used.

  • protoc --proto_path=./ grpcProtos/sample.proto --js_out=import_style=commonjs,binary:. --ts_out=service=true:.

Please make sure run the npm run build before push changes

Command to run test

npm run test

Command to run code coverage

npm run coverage

Note

  • don't push the .nyc_output\xx\xx.json and coverage file to github
  • upload all the file from report folder

Permissions

When add new permissions, please avoid duplication, value for permission list : permissionCode: <ServiceName>_<HTTP Method>_<Controller>_<Action> permissionLabel: any name you want to show to frontend for easy recognise permissionDesc: short description on what this permission can do permissionMethod: The http Method: GET/POST/PUT/DELETE , uppercase only permissionUrl: the Path for this permission. /<Controller>/<Action> allowAnonymous: whether this path is able to access by anyone

FAQs

Package last updated on 03 Sep 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.