0.3.4 • Published 6 months ago

@types/amp v0.3.4

Weekly downloads
2,076
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for amp 0.3
// Project: https://github.com/visionmedia/node-amp
// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4

/// <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: Thu, 23 Dec 2021 23:34:14 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by DefinitelyTyped.

0.3.2

8 months ago

0.3.4

6 months ago

0.3.3

7 months ago

0.3.1

2 years ago

0.3.0

6 years ago