
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
NodeJS module providing common functions of the ArchivesSpace REST Api
Install:
$ npm install asapi
Use:
var api = new require('asapi')({url:"http://localhost:4567"});
api.ping(function(err, json) {
console.log("ArchivesSpace version: " + json.archivesSpaceVersion);
});
Test:
$ npm install nodeunit -g
$ nodeunit test.js
Convert all extent information to metric system:
api.eachResource(function(resource) {
var update = false;
for (var i = 0; i < resource.extents.length; i++) {
if (resource.extents[i] && resource.extents[i].extent_type == 'linear_feet') {
resource.extents[i].number = (resource.extents[i].number * 0.3048) + "";
resource.extents[i].extent_type = "linear_meters";
update = true;
}
}
if (update) api.updateRecord(resource, function(err, body) {
if (err)
console.log("uh oh " + err);
else {
console.log(body);
}
});
});
FAQs
node js archivesspace rest client
The npm package asapi receives a total of 1 weekly downloads. As such, asapi popularity was classified as not popular.
We found that asapi 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.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.