
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
GraphQL based HTTP Server to manage lower energy actuator systems (office desks) over bluetooth.
This is a GraphQL microservice implementation of deskbluez with the goal to decouple the application backend system for ui implementations.
Subscribe to desk state changes via graphQL subscriptions
Perform mutations: Up/Down
$ npm install -g deskgraph
Deskbluez is not required but its necessary to configure the devices
Deskgraph uses the same configuration manager as deskbluez
, every created profile is compatible with the deskgraph as long the micro-service and the cli tool is used by the same user.
$ deskgraph
Access graphQL endpoint under:
http://localhost:3000/graphql
When PLAYGROUND is enabled, the apollo-playground is accessible under
/graphql
HTTP_PORT=XXXX (default: 3000)
PLAYGROUND=X (default: 0)
USAGE:
$ PLAYGROUND=1 HTTP_PORT=5000 deskgraph
Playground:
import {NestFactory, AppModule} from "deskgraph";
async function customBootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
}
customBootstrap();
You can use the nestjs module separately by importing the DeskModule
:
import { Module } from '@nestjs/common';
import { GraphQLModule } from '@nestjs/graphql';
import { DeskModule } from 'deskgraph';
@Module({
imports: [
GraphQLModule.forRoot({
autoSchemaFile: 'schema.gql',
installSubscriptionHandlers: true,
}),
DeskModule,
/**
* Your additional modules
*/
],
})
export class YourCustomNestJSModuleApplication {}
OR just use the DeskService
:
import { Module } from '@nestjs/common';
import { DeskbluezService } from 'deskgraph';
@Module({
providers: [DeskService],
})
export class MyNestJSModule {}
all you need is here, keep calm and stop being emotional, start using nestjs with typescript and don't waste your time.
FAQs
GraphQL based HTTP Server to manage lower energy actuator systems (office desks) over bluetooth.
The npm package deskgraph receives a total of 0 weekly downloads. As such, deskgraph popularity was classified as not popular.
We found that deskgraph 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.