We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Get n-grams of string.
const ngrams = require('@extra-string/ngrams'); // ngrams(<string>, <n>) ngrams('card', 2); // ['ca', 'ar', 'rd'] ngrams('triple-h', 3); // ['tri', 'rip', 'ipl', 'ple', 'le-', 'e-h'] ngrams('brocklesner', 10); // ['brocklesne', 'rocklesner']