@types/seedrandom

  • Version 3.0.1
  • Published
  • 6.27 kB
  • No dependencies
  • MIT license

Install

npm i @types/seedrandom
yarn add @types/seedrandom
pnpm add @types/seedrandom

Overview

TypeScript definitions for seedrandom

Index

Variables

variable seedrandom

const seedrandom: seedrandom;

    Interfaces

    interface Callback

    interface Callback {}

      call signature

      (prng?: prng, shortseed?: string, global?: boolean, state?: State): prng;

        interface Options

        interface Options {}

          property entropy

          entropy?: boolean | undefined;

            property global

            global?: boolean | undefined;

              property pass

              pass?: Callback | undefined;

                property state

                state?: boolean | State | undefined;

                  interface seedrandom

                  interface seedrandom {}

                    property Alea

                    Alea: new (seed?: string) => prng;

                      property Tychei

                      Tychei: new (seed?: string) => prng;

                        property Xor128

                        Xor128: new (seed?: string) => prng;

                          property Xor4096

                          Xor4096: new (seed?: string) => prng;

                            property XorShift7

                            XorShift7: new (seed?: string) => prng;

                              property XorWow

                              XorWow: new (seed?: string) => prng;

                                method alea

                                alea: (seed?: string, options?: seedrandom.Options) => prng;

                                  method tychei

                                  tychei: (seed?: string, options?: seedrandom.Options) => prng;

                                    method xor128

                                    xor128: (seed?: string, options?: seedrandom.Options) => prng;

                                      method xor4096

                                      xor4096: (seed?: string, options?: seedrandom.Options) => prng;

                                        method xorshift7

                                        xorshift7: (seed?: string, options?: seedrandom.Options) => prng;

                                          method xorwow

                                          xorwow: (seed?: string, options?: seedrandom.Options) => prng;

                                            call signature

                                            (
                                            seed?: string,
                                            options?: seedrandom.Options,
                                            callback?: seedrandom.Callback
                                            ): prng;

                                              Type Aliases

                                              type State

                                              type State = object;

                                                Package Files (1)

                                                Dependencies (0)

                                                No dependencies.

                                                Dev Dependencies (0)

                                                No dev dependencies.

                                                Peer Dependencies (0)

                                                No peer dependencies.

                                                Badge

                                                To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                                You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/seedrandom.

                                                • Markdown
                                                  [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/seedrandom)
                                                • HTML
                                                  <a href="https://www.jsdocs.io/package/@types/seedrandom"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>