This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/filenamify/index.d.ts
2020-11-01 22:46:04 +00:00

25 lines
482 B
TypeScript

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;