Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

jsonfeedparser.d.ts 609B

12345678910111213141516171819
  1. /// <reference types="node" />
  2. import { Writable } from 'stream';
  3. import { Parser, Feed } from './parser';
  4. /**
  5. * Parses a JSON feed.
  6. *
  7. * @param {boolean} buffer If true, will buffer entire object.
  8. * @return {CStream}
  9. */
  10. export default class JSONFeedParser extends Writable implements Parser {
  11. _buffer: boolean;
  12. parser: Writable;
  13. private _currObj;
  14. private _currKey;
  15. constructor(buffer: boolean);
  16. _write(chunk: Buffer, encoding: BufferEncoding, callback: (err?: Error | null) => void): void;
  17. _final(callback: (err?: Error | null) => void): void;
  18. done(): Feed | undefined;
  19. }