Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mmit/validate

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mmit/validate

Object validation for/in TS

  • 0.1.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
29
decreased by-39.58%
Maintainers
1
Weekly downloads
 
Created
Source

Validate - Tiny TS library to

Lightweight TS library for validating function arguments.

Installation

npm i @mmit/validate
yarn add @mmit/validate

Usage

Home

Deploy-Varianten aus packages.json

  • yarn clean

  • yarn deploy Erstellt die nötigen Files in lib

  • yarn deploy:node Erstellt im bin-Folder das File app.js dass mit node bin app.js aufgerufen werden kann

  • yarn deploy:web Browser-Part wird in dist veröffentlicht. Kann mit simplehttpserver dist/ getestet werden

  • yarn test | jest Führt die Unit-Tests aus

Upgrade aller packages

yarn-upgrade-latest

ToDo (Jenkins)

MD5 Check von src

find ./src -not ( -path ./src/test -prune ) -type f -exec md5 {} ; | sort -k 2

Wie oben - nur mit sum

find ./src -not ( -path ./src/test -prune ) -type f -exec md5 {} ; | sort -k 2 | md5 -r

cmp gibt 0 zurück wenn die Files gleich sind

if ! cmp srcmd5 srcmd5.prev >/dev/null 2>&1 then rm -f srcmd5.prev mv srcmd5 srcmd5.prev

restart service

fi

FAQs

Package last updated on 12 Mar 2019

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