dtyp
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

dtyp

DTYP / Windows Data Type library in TypeScript.

Github Version NPM Version NPM Downloads License

[MS-DTYP]: Windows Data Types

Installation

$ npm i dtyp

Usage

import dtyp from "dtyp";
 
const buffer = dtyp.serializeFiletime(new Date());
console.log(buffer); // <Buffer b0 ab ee 3a 1f 38 d6 01>
 
const date = dtyp.parseFiletime(buffer);
console.log(date); // 2020-06-01T14:16:23.787Z

Features

  • filetime parse / serialize

License

MIT

Package Sidebar

Install

npm i dtyp

Weekly Downloads

2

Version

0.1.2

License

MIT

Unpacked Size

5.3 kB

Total Files

7

Last publish

Collaborators

  • ardean