Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
ZMP command line utility makes easier to create Zalo Mini Program (ZMP). CLI the most recommended way to start ZMP app development.
Install zmp-cli (may require "sudo"):
$ npm install -g zmp-cli
Run the following command to get usage helps:
$ zmp
Directly:
$ zmp <command> [options]
To create ZMP app, create a Zalo app and run the following command in the directory where you want to create app:
$ mkdir mini-app && cd mini-app
$ zmp create
Program will prompt for few questions about Zalo App ID, Zalo access token, framework and template you want to start with.
Run the following command in the directory where you want to create app:
$ zmp create --ui
It will launch UI where you will be able to configure the project. By default it launches server on localhost:3001
address. If you want to change the port then use --port <n>
argument:
$ zmp create --ui --port 8080
$ zmp start
$ zmp deploy
To open your app, you must use Zalo App to scan QR code after deploy done
Change file app-config.json
to config your app when it is launched.
Example:
{
"window": {
"titleHeader": "My App",
"orientation": 0,
"color": "#15A6FB",
"rightMenu": {
"data": [],
"supportToolBar": 0,
"reset": 0
},
"leftMenu": {
"buttonType": 1,
"confirmToExit": 1,
"dialogMessage": "Bạn có muốn đóng app này không?"
}
},
"debug": false
}
View APIs
FAQs
ZMP command line utility (CLI)
The npm package zmp-cli receives a total of 103 weekly downloads. As such, zmp-cli popularity was classified as not popular.
We found that zmp-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.