dtyp

DTYP / Windows Data Type library in TypeScript

Usage no npm install needed!

<script type="module">
  import dtyp from 'https://cdn.skypack.dev/dtyp';
</script>

README

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