
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Aurumjs is a DOM rendering library inspired by react and angular. In Aurum you define your DOM using JSX and each thing that can change, be it attributes or inner text can be assigned to a data source. There is no rerendering, no reconciliation, no watching no dirty checking and no guesswork on what will and will cause things to render.
Instead all the things that can change are bound to a so called data source which makes data mutations observable and then applies the changes directly to the DOM bypassing any need for virtual dom or heavy computations of any sort. This makes it very fast to apply updates while keeping the code short.
This project is and will always be dependency free for better security and performance This project is still under development but feel free to try it and make bug reports or suggestions.
Install:
$ npm install aurumjs
To use Aurum you need to compile JSX or TSX using babel or the typescript compiler.
Example .babelrc
{
"presets": [
"@babel/preset-env",
],
"plugins": [
[
"@babel/transform-react-jsx",
{
"pragma": "Aurum.factory"
}
]
]
}
In tsconfig.json put the jsxFactory option
"compilerOptions": {
"jsxFactory": "Aurum.factory"
}
Simple Aurum app to render a div with text in the DOM:
import {Aurum, Div} from 'aurumjs'
Aurum.attach((<Div>Hello Aurum</Div>), document.body)
TODO App with creation, deletion drag and drop, editing and marking as done of tasks all under 100 lines of code with aurum: https://codepen.io/cyberphoenix90/pen/LYYMwVr
Better examples, proper documentation and benchmarks will be added in the near future.
FAQs
Stream based declarative DOM rendering library for javascript
The npm package aurumjs receives a total of 17 weekly downloads. As such, aurumjs popularity was classified as not popular.
We found that aurumjs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.