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.

index.d.ts 644B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. declare const trimNewlines: {
  2. /**
  3. Trim from the start and end of a string.
  4. @example
  5. ```js
  6. import trimNewlines = require('trim-newlines');
  7. trimNewlines('\n🦄\r\n');
  8. //=> '🦄'
  9. ```
  10. */
  11. (string: string): string;
  12. /**
  13. Trim from the start of a string.
  14. @example
  15. ```js
  16. import trimNewlines = require('trim-newlines');
  17. trimNewlines.start('\n🦄\r\n');
  18. //=> '🦄\r\n'
  19. ```
  20. */
  21. start(string: string): string;
  22. /**
  23. Trim from the end of a string.
  24. @example
  25. ```js
  26. import trimNewlines = require('trim-newlines');
  27. trimNewlines.end('\n🦄\r\n');
  28. //=> '\n🦄'
  29. ```
  30. */
  31. end(string: string): string;
  32. };
  33. export = trimNewlines;