
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
system-x64
Advanced tools
system-x64 is a package that is based on C# conversions. Transacting functionally like DateTime.
npm i system-x64
or
yarn add system-x64
import { Convert } from "system-x64";
import { Convert } from "system-x64";
console.log({
toDate: Convert.toDate("24/02/2023", {
culture: "pt-BR",
default: new Date(),
}),
toNumber: Convert.toNumber("123.456,78", { culture: "pt-BR", default: 0 }),
toBoolean: Convert.toBoolean("f"),
toDecimal: Convert.toDecimal("123.456,78", { culture: "pt-BR", default: 0 }),
toString: Convert.toString("test "),
toMoney: Convert.toMoney(123456, { prefix: 'R$', fixed: 2, culture: 'pt-BR', default: 0 }),
});
{
toDate: 2023-02-24T03:00:00.000Z,
toNumber: 123.45678,
toBoolean: false,
toDecimal: 123.45678,
toString: 'test',
toMoney: 'R$ 123.456,00'
}
import { Timer } from "system-x64";
import { Timer } from "system-x64";
const timer = new Timer(1000, () => console.log('timer', new Date()));
timer.start();
setTimeout(() => console.log('timer', timer.running), 3000);
setTimeout(() => timer.stop(), 5000);
timer 2023-04-01T13:18:47.198Z
timer 2023-04-01T13:18:48.213Z
timer 2023-04-01T13:18:49.218Z
timer true
timer 2023-04-01T13:18:50.218Z
timer 2023-04-01T13:18:51.231Z
import { Task } from "system-x64";
import { Task } from "system-x64";
async function test() {
console.log('delay before', new Date())
await Task.delay(2000);
console.log('delay after', new Date())
}
test();
delay before 2023-04-01T13:48:42.403Z
delay after 2023-04-01T13:48:44.420Z
import { Guid } from "system-x64";
import { Guid } from "system-x64";
const guid = Guid.newGuid();
console.log(guid.toString());
console.log(Guid.isValid('e7f95b06-4e49-7e66-a917-e05ed74f4a75'));
7b94b288-adf5-8d70-f469-2edd851d88b0
true
FAQs
System based on c# to javascript
The npm package system-x64 receives a total of 38 weekly downloads. As such, system-x64 popularity was classified as not popular.
We found that system-x64 demonstrated a healthy version release cadence and project activity because the last version was released less than 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.