@types/speakingurl
TypeScript definitions for speakingurl
Last updated 9 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/speakingurl 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/speakingurl

Summary

This package contains type definitions for speakingurl (http://pid.github.io/speakingurl/).

Details

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

index.d.ts

// Type definitions for speakingurl 13.0
// Project: http://pid.github.io/speakingurl/
// Definitions by: Zlatko Andonovski <https://github.com/Goldsmith42>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

interface Dictionary<T> {
    [x: string]: T;
}

interface SpeakingURLOptions {
    separator?: string | undefined;
    lang?: string|boolean | undefined;
    symbols?: boolean | undefined;
    maintainCase?: boolean | undefined;
    titleCase?: string[]|boolean | undefined;
    truncate?: number | undefined;
    uric?: boolean | undefined;
    uricNoSlash?: boolean | undefined;
    mark?: boolean | undefined;
    custom?: string[]|Dictionary<string> | undefined;
}

declare function getSlug(input: string, options?: SpeakingURLOptions|string): string;

declare namespace getSlug {
    function createSlug(options: SpeakingURLOptions): (input: string) => string;
}

export = getSlug;

Additional Details

  • Last updated: Tue, 06 Jul 2021 16:35:09 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Zlatko Andonovski.

Current Tags

  • 13.0.3                                ...           latest (5 years ago)
  • 13.0.2                                ...           ts2.0 (9 years ago)
  • 13.0.2                                ...           ts2.1 (9 years ago)
  • 13.0.2                                ...           ts2.2 (9 years ago)
  • 13.0.2                                ...           ts2.3 (9 years ago)
  • 13.0.2                                ...           ts2.4 (9 years ago)
  • 13.0.2                                ...           ts2.5 (9 years ago)
  • 13.0.2                                ...           ts2.6 (9 years ago)
  • 13.0.2                                ...           ts2.7 (9 years ago)
  • 13.0.2                                ...           ts2.8 (9 years ago)
  • 13.0.2                                ...           ts2.9 (9 years ago)
  • 13.0.2                                ...           ts3.0 (9 years ago)
  • 13.0.2                                ...           ts3.1 (9 years ago)
  • 13.0.2                                ...           ts3.2 (9 years ago)
  • 13.0.2                                ...           ts3.3 (9 years ago)
  • 13.0.2                                ...           ts3.4 (9 years ago)
  • 13.0.2                                ...           ts3.5 (9 years ago)
  • 13.0.3                                ...           ts3.6 (5 years ago)
  • 13.0.3                                ...           ts3.7 (5 years ago)
  • 13.0.3                                ...           ts3.8 (5 years ago)
  • 13.0.3                                ...           ts3.9 (5 years ago)
  • 13.0.3                                ...           ts4.0 (5 years ago)
  • 13.0.3                                ...           ts4.1 (5 years ago)
  • 13.0.3                                ...           ts4.2 (5 years ago)
  • 13.0.3                                ...           ts4.3 (5 years ago)
  • 13.0.3                                ...           ts4.4 (5 years ago)
  • 13.0.3                                ...           ts4.5 (5 years ago)
  • 13.0.3                                ...           ts4.6 (5 years ago)

5 Versions

  • 13.0.3                                ...           5 years ago
  • 13.0.2                                ...           9 years ago
  • 13.0.1                                ...           9 years ago
  • 13.0.0                                ...           9 years ago
  • 10.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |