@thi.ng/api
    TypeScript icon, indicating that this package has built-in type declarations

    8.3.6 • Public • Published

    api

    npm version npm downloads Twitter Follow

    This project is part of the @thi.ng/umbrella monorepo.

    About

    Common, generic types, interfaces & mixins.

    This package is implicitly used by most other projects in this repository. It defines:

    • Dozens of generic, common interfaces & types
    • Class & method decorators
    • Mixins
    • Typedarray utilities

    Status

    STABLE - used in production

    Search or submit any issues for this package

    Installation

    yarn add @thi.ng/api

    ES module import:

    <script type="module" src="https://cdn.skypack.dev/@thi.ng/api"></script>

    Skypack documentation

    For Node.js REPL:

    # with flag only for < v16
    node --experimental-repl-await
    
    > const api = await import("@thi.ng/api");
    

    Package sizes (gzipped, pre-treeshake): ESM: 2.25 KB

    Dependencies

    None

    API

    Generated API docs

    Authors

    Maintainer

    Contributors

    If this project contributes to an academic publication, please cite it as:

    @misc{thing-api,
      title = "@thi.ng/api",
      author = "Karsten Schmidt and others",
      note = "https://thi.ng/api",
      year = 2016
    }

    License

    © 2016 - 2022 Karsten Schmidt // Apache Software License 2.0

    Install

    npm i @thi.ng/api

    DownloadsWeekly Downloads

    44,208

    Version

    8.3.6

    License

    Apache-2.0

    Unpacked Size

    118 kB

    Total Files

    106

    Last publish

    Collaborators

    • thi.ng