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.

xmlfeedparser.d.ts 609B

12345678910111213141516171819
  1. /// <reference types="node" />
  2. import { Writable } from 'stream';
  3. import { Parser, Feed } from './parser';
  4. /**
  5. * Parses an RSS/Atom feed.
  6. *
  7. * @param {boolean} buffer If true, will buffer entire object.
  8. * @return {sax.Stream}
  9. */
  10. export default class XMLFeedParser extends Writable implements Parser {
  11. _buffer: boolean;
  12. parser: Writable;
  13. private _root;
  14. private _obj;
  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. }