0.3.2 • Published 3 years ago

@bulentv/smb2 v0.3.2

Weekly downloads
19
License
MIT
Repository
github
Last release
3 years ago

@bulentv/smb2

A SMB2 implementation in TypeScript.

Github Version NPM Version NPM Downloads License

Installation

$ npm i @bulentv/smb2

Usage

import smb2 from "@bulentv/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 files
  • create, list & remove directories
  • check directory/file exists

WIP

  • SMB
  • Server

License

MIT

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago