
Research
/Security News
Contagious Interview Campaign Escalates With 67 Malicious npm Packages and New Malware Loader
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
amps-client-javascript-build-env
Advanced tools
AMPS JavaScript Client Library Dev Environment
This is the official TypeScript/JavaScript client for AMPS server.
Supported features:
npm install --save
src
directory.Tests require a running AMPS instance. The configuration file for that instance is provided: tests/docker/amps-config.xml
The library should be tested in both Browser and Node.js environment, that's why it provides a set of universal tests and the dev web server.
Browser Environment: use web server: npm start
Open http://localhost:8888 in your browser to run browser environment tests.
Node.js Environment: npm test
Test results will also be stored in the JUnit XML format, in order to support automatic builds (junit_tests_output.xml
).
In order to run tests, a running AMPS server instance is required. The testing config is located in
tests/docker/amps-config.xml
. A dockerfile
provided to start AMPS Server using docker on your Mac or Windows machine:
./tests/docker
docker build .
docker run -p 8085:8085 -p 9000:9000 -p 9001:9001 -p 9002:9002 -p 9003:9003 -p 9004:9004 -p 9005:9005 -p 9100:9100 <container_id>
localhost
This command will validate formatting and and syntax of .ts files. Settings are available in deployment/tslint.json
npm run gen
The following command will build, minify, generage documentation, and archive the project:
npm run build
The output will be placed in the amps-javascript-client-.tar.gz file.
Alternatively you can:
npm run docbuild
(will be available in build/docs
)npm run lint
npm run clear
npm test
Running lint and tests is recommended before building a client package.
FAQs
AMPS JavaScript Client Library Dev Environment
The npm package amps-client-javascript-build-env receives a total of 0 weekly downloads. As such, amps-client-javascript-build-env popularity was classified as not popular.
We found that amps-client-javascript-build-env demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.