@types/amp
TypeScript icon, indicating that this package has built-in type declarations

0.3.4 • Public • Published

Installation

npm install --save @types/amp

Summary

This package contains type definitions for amp (https://github.com/visionmedia/node-amp).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/amp.

index.d.ts

/// <reference types="node" />

import * as stream from "stream";

export function decode(buf: Buffer): Buffer[];

export function encode(args: Buffer[]): Buffer;

export class Stream extends stream.Writable {
    constructor(opts: stream.WritableOptions);

    _write(chunk: any, encoding: string, fn: () => void): void;
}

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:04 GMT
  • Dependencies: @types/node

Credits

These definitions were written by .

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.4
    406
  • 0.3.3
    0
  • 0.3.2
    2
  • 0.3.1
    46
  • 0.3.0
    19

Package Sidebar

Install

npm i @types/amp

Weekly Downloads

473

Version

0.3.4

License

MIT

Unpacked Size

3.02 kB

Total Files

5

Last publish

Collaborators

  • types