system_assignation/node_modules/filenamify/index.d.ts

25 lines
482 B
TypeScript
Raw Normal View History

2022-03-24 09:22:39 -04:00
import filenamify = require('./filenamify');
import filenamifyPath = require('./filenamify-path');
declare const filenamifyCombined: {
/**
Convert a string to a valid filename.
@example
```
import filenamify = require('filenamify');
filenamify('<foo/bar>');
//=> 'foo!bar'
filenamify('foo:"bar"', {replacement: '🐴'});
//=> 'foo🐴bar'
```
*/
(string: string, options?: filenamify.Options): string;
path: typeof filenamifyPath;
};
export = filenamifyCombined;