Socket
Socket
Sign inDemoInstall

dtyp

Package Overview
Dependencies
1
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dtyp

DTYP / Windows Data Type library in TypeScript


Version published
Weekly downloads
4
increased by100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 01 Jun 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc