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.

feedme.d.ts 775B

12345678910111213141516171819202122
  1. /// <reference types="node" />
  2. import { Writable } from 'stream';
  3. export default class FeedMe extends Writable {
  4. private _buffer;
  5. private _parser;
  6. /**
  7. * Creates an instance of a parser. Parser can be JSON/XML.
  8. *
  9. * @param {boolean} buffer If true, feed will be buffered into memory
  10. * and can be retrieved using `parser.done()` on the `end` event.
  11. * @constructor
  12. */
  13. constructor(buffer?: boolean);
  14. _proxyEvents(): void;
  15. /**
  16. * @param {Buffer} data
  17. */
  18. _write(data: Buffer, encoding: BufferEncoding, callback: (err?: Error | null) => void): void;
  19. _final(callback: (err?: Error | null) => void): void;
  20. done(): import("./parser").Feed | undefined;
  21. }
  22. export { Feed, FeedItem, FeedObject } from './parser';