
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Enhanced concurrency primitives for Javascript. Gain complete control and transparency over the execution of concurrent and asynchronous operations, with almost no code.
This repository hosts the core Ency library. If you want to use Ency's concurrency primitives you have the following options:
Environment | Library |
---|---|
Plain JavaScript | Ency (this repo) |
Vue | Vuency |
Ency helps you manage complex, event-driven operations with minimal code.
The two main benefits are:
Implicit state: Operations have their state baked in, so that you don't have to manually set and update flags (i.e. isRunning
) yourself, to handle common UI interactions.
Flow control: The scheduling and cancellation of operation instances is baked in, so you can easily manage the flow of repeat requests, as well as manually cancel an operation at any moment.
The additional benefits:
Callback subscriptions: Subscribe to callbacks that are fired based on the stage or result of the operation, e.g. beforeStart
or onCancel
. This semantically separates the handling of corner cases from the core logic, which makes your code easier to reason about.
Bind data: Bind specific parameters or options to the nth
call of the instance, e.g. using nth(1, { keepRunning: true })
, so that you can simulate an infinite loop without overpowering the main thread.
Async helpers: Common async utilities, such as timeout
helpers, that are automatically cleanup when the operation is over, which ensures that UI interactions flow with minimal latency.
If that isn't enough, Ency's API strikes a nice balance between declarative and imperative styles of programming, which makes complex code simple and fun to write.
The Ency documentation is a nuxt.js and nuxtent generated static site with interactive examples.
MIT
FAQs
Concurrency management for Javascript.
The npm package ency receives a total of 46 weekly downloads. As such, ency popularity was classified as not popular.
We found that ency 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.