
Security News
152 Chrome Live Wallpaper Extensions Hid Ad Tracking and Faked Google Search Traffic
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.
@lawallet/module
Advanced tools
This is a library intended to ease the quick development of backend modules that interact with other modules in the architecture described in lawallet.io
pnpm add @lawallet/module
The simplest usage is to declare the routes where the nostr listeners and rest routes will be and start the module:
import { Module } from '@lawallet/module';
const module = Module.build({
nostrPath: `${import.meta.dirname}/nostr`,
restPath: `${import.meta.dirname}/rest`,
});
module.start();
You can also provide anything you want to the context that will be available for nostr and rest handlers by extending the DefaultContext type. The following example adds a prisma client.
import { Module, DefaultContext, getWriteNDK, OutboxService } from '@lawallet/module';
import { PrismaClient } from '@prisma/client';
type Context = DefaultContext & {prisma: PrismaClient};
const context: Context = {
outbox: new OutboxService(getWriteNDK()),
prisma: new PrismaClient(),
};
const module = Module.build<Context>({
context,
nostrPath: `${import.meta.dirname}/nostr`,
restPath: `${import.meta.dirname}/rest`,
});
module.start();
FAQs
LaWallet Module
The npm package @lawallet/module receives a total of 7 weekly downloads. As such, @lawallet/module popularity was classified as not popular.
We found that @lawallet/module demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.