
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.
azul-tools
Advanced tools
This is being used, and tested with Node V14+, it might not work in lower versions.
npm install azul-tools
This project is licensed under the MIT License - see the LICENSE file for details
await or thenUsefully to test how much time it will get to do something
string the name of the tester, use this to identify thingsconst AzulTools = require('azul-tools);
const Test = new AzulTools.Tester('cool function');
**do something that you want to know how long will take**
Test.end(true); // will say on console => cool function took (x)ms, where (x) is the time that it tooks
Returns a promise that is solved after ms miliseconds, good to use await or then
ms time in milisecondsChecks if str is a valid valid url, by returning true or false
str desired string to do the magicChecks if str is a valid trade offer url, by returning true or false
str desired string to do the magicChecks if str is a valid SteamID, by returning true or false
str desired string to do the magicChecks if str is a valid SteamID64, by returning true or false
str desired string to do the magicReturns the first SteamID64 found in a desired string, can return null if didn't manage to find any
str desired string to do the magicReturn an object with a formated date YYYY-MM-DD and time HH:mm:ss of the date date or the current system time if ommited.
date date to be formated, if null or ommited, will use current system timeFormat a number to make it more readable (e.g transforms 9999 to 9,999)
number number to be formatedSafe load a JSON file and parse it, if file doesn't exists, or if it fails to parse the json(bad json), it will return an emptry json.
filepath obvious, the filepath..blueyellowgreengreyredSmart use of storeFile(), TimeStamp() and colors.js to save logs, with smooth organization by dates, times and sections
String Log message you want to display on the console, and store.json If you passing a JSON content, set to true, it will use JSON.stringify() on String.DebugMode True if you want the console to display the message, false otherwise, but even if false, it will save the logs.Smart use of storeFile() and TimeStamp() to save SteamChat logs, with smooth organization by dates, times, and SteamIDS.
UserID64 is the SteamID64 of userMessage is the message contentBot True if its a bot message (bot has sent the message), false if otherwise (if null or ommited, will be false)server_timestamp UTC timestamp that you need to be stored, if null or ommited, will pick the current UTC system time.Safe store a file to a desired filePath, and auto create any extra directory if needed, it uses graceful-js so we don't need to worry about commom issues.
filePath is the target filePathfileContent is the file content, please beware that it don't handle json, so you need to use JSON.stringify()flag it the fs flag, commom ones are w for writing, and a for appending (if null or ommited, will pick appending)FAQs
Some tools that i use in my projects..
The npm package azul-tools receives a total of 53 weekly downloads. As such, azul-tools popularity was classified as not popular.
We found that azul-tools 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
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.