0.3.0 • Published 3 years ago

@stifani/smb2 v0.3.0

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

@stifani/smb2

A SMB2 implementation in TypeScript.

Github Version NPM Version NPM Downloads License

Installation

$ npm i @stifani/smb2

Usage

import smb2 from "@stifani/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

0.3.0

3 years ago

0.2.1

4 years ago

0.2.2

4 years ago

0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago