{"_id":"@types/yallist","_rev":"2804500","name":"@types/yallist","description":"TypeScript definitions for yallist","dist-tags":{"latest":"4.0.1","ts2.3":"3.0.1","ts2.4":"3.0.1","ts2.5":"3.0.1","ts2.6":"3.0.1","ts2.7":"3.0.1","ts2.8":"3.0.1","ts2.9":"3.0.1","ts3.0":"3.0.1","ts3.1":"3.0.1","ts3.2":"3.0.1","ts3.3":"3.0.1","ts3.4":"3.0.1","ts3.5":"4.0.0","ts3.6":"4.0.1","ts3.7":"4.0.1","ts3.8":"4.0.1","ts3.9":"4.0.1","ts4.0":"4.0.1","ts4.1":"4.0.1","ts4.2":"4.0.1","ts4.3":"4.0.1","ts4.4":"4.0.1","ts4.5":"4.0.1","ts4.6":"4.0.1","ts4.7":"4.0.1","ts4.8":"4.0.1","ts4.9":"4.0.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2022-09-01T09:22:48.000Z","created":"2017-08-21T22:06:46.243Z","4.0.1":"2021-07-02T16:33:46.566Z","4.0.0":"2021-05-08T20:31:33.682Z","3.0.1":"2018-03-15T23:21:02.915Z","3.0.0":"2017-08-21T22:06:46.243Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/yallist"},"versions":{"4.0.1":{"name":"@types/yallist","version":"4.0.1","description":"TypeScript definitions for yallist","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yallist","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/yallist"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"53b17bb5c16d105e6eefe09a535024c338d01c37bbc3dc608999f97ef092c4e1","typeScriptVersion":"3.6","_id":"@types/yallist@4.0.1","dist":{"shasum":"f10e7bdc591bf28297720d08cfeba0f018f929cf","size":2108,"noattachment":false,"key":"/@types/yallist/-/@types/yallist-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/yallist/download/@types/yallist-4.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yallist_4.0.1_1625243626417_0.3773339689688746"},"_hasShrinkwrap":false,"publish_time":1625243626566,"_cnpm_publish_time":1625243626566,"_cnpmcore_publish_time":"2021-12-17T00:46:13.331Z"},"4.0.0":{"name":"@types/yallist","version":"4.0.0","description":"TypeScript definitions for yallist","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/yallist"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"2aa312e67ad7d32c9d7c31603881e767de86fec0f781097f7eff8eaea44784f6","typeScriptVersion":"3.5","_id":"@types/yallist@4.0.0","dist":{"shasum":"05488d55ffe0105dc93a0ff6bf970ca6068efe43","size":2026,"noattachment":false,"key":"/@types/yallist/-/@types/yallist-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/yallist/download/@types/yallist-4.0.0.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yallist_4.0.0_1620505893573_0.8914008860238312"},"_hasShrinkwrap":false,"publish_time":1620505893682,"_cnpm_publish_time":1620505893682,"_cnpmcore_publish_time":"2021-12-17T00:46:13.550Z"},"3.0.1":{"name":"@types/yallist","version":"3.0.1","description":"TypeScript definitions for yallist","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"c99efa7c92d8949464f53b79d66ddb3bc52f1dfb85d92f19120fcf4962b51516","typeScriptVersion":"2.3","_id":"@types/yallist@3.0.1","dist":{"shasum":"3f43dac55d779e3058ba10334659d9fbb373807c","size":2002,"noattachment":false,"key":"/@types/yallist/-/@types/yallist-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/yallist/download/@types/yallist-3.0.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yallist_3.0.1_1521156062823_0.7947551478337804"},"_hasShrinkwrap":false,"publish_time":1521156062915,"_cnpm_publish_time":1521156062915,"_cnpmcore_publish_time":"2021-12-17T00:46:13.775Z"},"3.0.0":{"name":"@types/yallist","version":"3.0.0","description":"TypeScript definitions for yallist","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"797f61be66f8bfb48421ea7328f70ad3a99fa046b6de763c5fa0dfb409cbd263","typeScriptVersion":"2.3","_id":"@types/yallist@3.0.0","dist":{"shasum":"3e6f2a57cb969c7c5b2983cdeb70be64b272ed1f","size":1988,"noattachment":false,"key":"/@types/yallist/-/@types/yallist-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/yallist/download/@types/yallist-3.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/yallist-3.0.0.tgz_1503353206060_0.781666396651417"},"directories":{},"publish_time":1503353206243,"_hasShrinkwrap":false,"_cnpm_publish_time":1503353206243,"_cnpmcore_publish_time":"2021-12-17T00:46:13.993Z"}},"readme":"# Installation\r\n> `npm install --save @types/yallist`\r\n\r\n# Summary\r\nThis package contains type definitions for yallist (https://github.com/isaacs/yallist#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yallist.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yallist/index.d.ts)\r\n````ts\r\n// Type definitions for yallist 4.0\n// Project: https://github.com/isaacs/yallist#readme\n// Definitions by: BendingBender <https://github.com/BendingBender>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n// TypeScript Version: 2.3\n\nexport = Yallist;\n\ndeclare class Yallist<T> implements Iterable<T> {\n    static create<T>(): Yallist<T>;\n    static create<T>(list: Yallist.ForEachIterable<T>): Yallist<T>;\n    static create<T>(...items: T[]): Yallist<T>;\n\n    static Node: Yallist.NodeConstructor;\n\n    head: Yallist.Node<T> | null;\n    tail: Yallist.Node<T> | null;\n    length: number;\n\n    constructor();\n    constructor(list: Yallist.ForEachIterable<T>);\n    constructor(...items: T[]);\n\n    forEach<U = this>(callbackFn: (this: U, value: T, index: number, list: this) => void, thisArg?: U): void;\n    forEachReverse<U = this>(callbackFn: (this: U, value: T, index: number, list: this) => void, thisArg?: U): void;\n    get(n: number): T | undefined;\n    getReverse(n: number): T | undefined;\n    map<U = this, R = T>(callbackFn: (this: U, value: T, list: this) => R, thisArg?: U): Yallist<R>;\n    mapReverse<U = this, R = T>(callbackFn: (this: U, value: T, list: this) => R, thisArg?: U): Yallist<R>;\n    pop(): T | undefined;\n    push(...items: T[]): number;\n    pushNode(node: Yallist.Node<T>): void;\n    reduce<U = T>(fn: (previousValue: U, currentValue: T, index: number) => U, initialValue?: U): U;\n    reduceReverse<U = T>(fn: (previousValue: U, currentValue: T, index: number) => U, initialValue?: U): U;\n    removeNode(node: Yallist.Node<T>): void;\n    reverse(): this;\n    shift(): T | undefined;\n    slice(from?: number, to?: number): Yallist<T>;\n    sliceReverse(from?: number, to?: number): Yallist<T>;\n    splice(start: number, deleteCount: number, ...nodes: T[]): T[];\n    toArray(): T[];\n    toArrayReverse(): T[];\n    unshift(...items: T[]): number;\n    unshiftNode(node: Yallist.Node<T>): void;\n\n    [Symbol.iterator](): Iterator<T>;\n}\n\ndeclare namespace Yallist {\n    interface ForEachIterable<T> {\n        forEach(callbackFn: (item: T) => void): void;\n    }\n\n    interface NodeConstructor {\n        <T>(value: T, prev?: Node<T>, next?: Node<T>, list?: Yallist<T>): Node<T>;\n        new <T>(value: T, prev?: Node<T>, next?: Node<T>, list?: Yallist<T>): Node<T>;\n    }\n\n    interface Node<T> {\n        prev: Node<T> | null;\n        next: Node<T> | null;\n        value: T;\n        list?: Yallist<T> | undefined;\n    }\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Fri, 02 Jul 2021 16:32:03 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [BendingBender](https://github.com/BendingBender).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yallist","license":"MIT"}