npm.io
0.2.3 • Published 2 years ago

@types/sentencer

Licence
MIT
Version
0.2.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/sentencer

Summary

This package contains type definitions for sentencer (https://www.npmjs.com/package/sentencer (Does not have to be to GitHub).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sentencer.

index.d.ts

type action = () => string;
interface actions {
    [key: string]: action;
}
interface options {
    nounList?: string[];
    adjectiveList?: string[];
    actions?: actions;
}
interface Sentencer {
    actions: actions;
    make: (template: string) => string;
    configure: (options: options) => void;
    use: (options: options) => Sentencer;
}

export = sentencer;
export as namespace sentencer;

declare const sentencer: Sentencer;

Additional Details

  • Last updated: Tue, 07 Nov 2023 1536 GMT
  • Dependencies: none

Credits

These definitions were written by Julien.