
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
srt editor engine, improve performance by indexing
npm i -S srt-engine
import StrEngine from 'srt-engine';
let se = new SrtEngine();
se.load('your srt file url');
or you can load srt through compile method,
or transform a content array to a srt-engine instance.
se.compile(text);
let dialogue = se.findByTime(10000); // milliseconds
const fileText = se.stringify({
fontSize: 16,
fontColor: #ffffff,
bold: true,
italic: true,
underground: true,
// align default 2, values:
// 7, 8, 9
// 4, 5, 6
// 1, 2, 3
align: 2,
})
dialogue object like this:
{
id: 1,
uid: 1, // unique id
startTimeInMilliSeconds: 0,
endTimeInMilliSeconds: 3000,
texts: ['an dialogue', '一个对话'],
}
param: url
return: promise --> SE instance
param: file text
return: SE instance
param: content Array
return: SE instance
param: styles Object(all dialogue support fontSize, font), start, end
return: file text
param: milliseconds Number
return: dialogue Array
param: text
return: dialogue Array
param: uid (an attribute of dialogue object)
return: an dialogue
param: start end
return: dialogue Array
param: dialogue index(position)
return: dialogue(cloneDeep)
param: uid, dialogueInfos(like dialogue, not strict)
return: SE instance
param: uid
return: SE instance
param: none
return: SE instance
param: none
return: dialogue Array
param: none
return: origin file text
FAQs
srt-engine
We found that srt-engine 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.