New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

node-osquery

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-osquery

![Badge Branches](./coverage/badge-branches.svg) ![Badge Functions](./coverage/badge-functions.svg) ![Badge Lines](./coverage/badge-lines.svg) ![Badge Statements](./coverage/badge-statements.svg)

Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

node-osquery

Badge Branches Badge Functions Badge Lines Badge Statements

This is a Node.js module providing convenient access to OSQuery data.

Installation

You can install this module via npm using the following command:

npm install --save node-osquery

or using yarn:

yarn add node-osquery

Usage

You can import and use the methods provided by this package as follows:

const { runOSQuery } = require('node-osquery');
// OR with ES6 import
import { runOSQuery } from 'node-osquery';

const main = async () => {
const result = await runOSQuery('select * from users');
console.log(result);
};

main().catch(console.error);

Test

To run the test suite, execute the following command:

npm test

Contributing

I appreciate your contributions! Please feel free to submit a pull request or open an issue on the repository.

License

This project is licensed under the MIT License.

Keywords

osquery

FAQs

Package last updated on 26 Jul 2023

Did you know?

Socket

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.

Install

Related posts