Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.14 KB

README.md

File metadata and controls

45 lines (32 loc) · 1.14 KB

Stego-JS

npm module

Example

Installation

# node
npm install @masknet/stego-js @napi-rs/image --global

# dom
npm install @masknet/stego-js

Usage

# cli
npx @masknet/stego-js -h

# or
npm install --global @masknet/stego-js
stego-js -h
// node
import { encode, decode } from '@masknet/stego-js/cjs/node'

// dom
import { encode, decode } from '@masknet/stego-js/cjs/dom'

// in native  (using ./cjs/node)
// in browser (using ./cjs/dom)
import { encode, decode } from '@masknet/stego-js'

Refs