🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

node-smb2

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-smb2

A SMB2 implementation in TypeScript

latest
Source
npmnpm
Version
1.3.5
Version published
Weekly downloads
2.8K
-24.95%
Maintainers
1
Weekly downloads
 
Created
Source

@awo00/smb2

A SMB2 implementation in TypeScript.

Forked from https://github.com/ardean/smb2 using code from https://github.com/SamDecrock/node-http-ntlm to fix Node 17+ OpenSSL error to prevent having to use legacy support.

Installation

$ npm i @awo00/smb2

Usage

import smb2 from "@awo00/smb2";

const client = new smb2.Client(host);
const session = await client.authenticate({
  domain,
  username,
  password
});
const tree = await session.connectTree(share);

const entries = await tree.readDirectory("/");
console.log(entries);

Features

Client

  • watch shares for file and directory changes
  • create, read & remove & rename files
  • create, list & remove & rename directories
  • check directory/file exists

WIP

  • SMB
  • Server

License

MIT

Keywords

smb2

FAQs

Package last updated on 21 Oct 2025

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