Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ardean/dtyp
DTYP / Windows Data Type library in TypeScript
https://github.com/ardean/dtyp
dtyp filetime ms-dtyp windows-data-types
Last synced: 4 days ago
JSON representation
DTYP / Windows Data Type library in TypeScript
- Host: GitHub
- URL: https://github.com/ardean/dtyp
- Owner: ardean
- License: mit
- Created: 2020-06-01T14:27:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T21:38:06.000Z (over 1 year ago)
- Last Synced: 2024-08-08T21:34:21.279Z (3 months ago)
- Topics: dtyp, filetime, ms-dtyp, windows-data-types
- Language: TypeScript
- Homepage:
- Size: 338 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# dtyp
> DTYP / Windows Data Type library in TypeScript.
[![Github Version](https://img.shields.io/github/release/ardean/dtyp.svg)](https://github.com/ardean/dtyp)
[![NPM Version](https://img.shields.io/npm/v/dtyp.svg)](https://npmjs.org/package/dtyp)
[![NPM Downloads](https://img.shields.io/npm/dm/dtyp.svg)](https://npmjs.org/package/dtyp)
[![License](https://img.shields.io/npm/l/dtyp.svg)](LICENSE.md)[[MS-DTYP]: Windows Data Types](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-dtyp/cca27429-5689-4a16-b2b4-9325d93e4ba2)
## Installation
```sh
$ npm i dtyp
```## Usage
```ts
import dtyp from "dtyp";const buffer = dtyp.serializeFiletime(new Date());
console.log(buffer); //const date = dtyp.parseFiletime(buffer);
console.log(date); // 2020-06-01T14:16:23.787Z
```## Features
- filetime parse / serialize## License
[MIT](LICENSE.md)