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 482B

123456789101112131415161718192021222324
  1. import filenamify = require('./filenamify');
  2. import filenamifyPath = require('./filenamify-path');
  3. declare const filenamifyCombined: {
  4. /**
  5. Convert a string to a valid filename.
  6. @example
  7. ```
  8. import filenamify = require('filenamify');
  9. filenamify('<foo/bar>');
  10. //=> 'foo!bar'
  11. filenamify('foo:"bar"', {replacement: '🐴'});
  12. //=> 'foo🐴bar'
  13. ```
  14. */
  15. (string: string, options?: filenamify.Options): string;
  16. path: typeof filenamifyPath;
  17. };
  18. export = filenamifyCombined;