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

25 lines
482 B
TypeScript
Raw Normal View History

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;