0.2.4 • Published 2 years ago

waxing v0.2.4

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

Waxing

waxing is a JS packages that decrypts password-protected Office documents.

decryptOLEDoc(buffer: Buffer, password: String): Promise<Buffer>

This function takes a Buffer representing a password-protected Office document, a String containing the password, and returns a Buffer corresponding to the decrypted document.

In case the input Buffer corresponds to a non-encrypted Office document, it is returned as is.

In case the input Buffer is not an Office document at all, the promise is rejected with an Error.

isOLEDoc(buffer: Buffer): Boolean

This function takes a Buffer, and returns a Boolean indicating whether or not this is an encrypted Office document.

0.2.4

2 years ago

0.2.3-0

3 years ago

0.2.3

3 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago