New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

hiot-app

Package Overview
Dependencies
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hiot-app

library with structure and common components for application

latest
Source
npmnpm
Version
2.16.1
Version published
Weekly downloads
60
-7.69%
Maintainers
3
Weekly downloads
 
Created
Source

hiot-app-js

library with structure and common components for our nodejs applications

To write a middleware all you need to do is to write a function that takes a locator object as a param and returns a promise that resolved the input param locator.

Install

npm install hiot-app

Tests

npm install
npm test

Prettier & ESlint

we use prettier to format our code. Our recommendation is to configure your editor to autoformat during save. If you open up the VS Code User's settings/preferences as UI, search for "Format On Save" and make sure to activate it. Afterward, the file should format automatically once you save it. Now you don’t need to worry about your code formatting anymore, because Prettier takes care of it.

#manual checking and apply
npx prettier --check .
npx prettier --write .

#validate passes eslint
yarn run eslint .
yarn run eslint . --fix
# or
npm run lint
npm run lint-fix

Publishing

npm install
npm test
npm login
(follow instructions)
npm publish

Keywords

structure

FAQs

Package last updated on 02 May 2024

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