{"_id":"@types/is-natural-number","_rev":"3016427","name":"@types/is-natural-number","description":"TypeScript definitions for is-natural-number","dist-tags":{"latest":"4.0.2","ts2.0":"4.0.0","ts2.1":"4.0.0","ts2.2":"4.0.0","ts2.3":"4.0.0","ts2.4":"4.0.0","ts2.5":"4.0.0","ts2.6":"4.0.0","ts2.7":"4.0.0","ts2.8":"4.0.0","ts2.9":"4.0.0","ts3.0":"4.0.0","ts3.1":"4.0.0","ts3.2":"4.0.0","ts3.3":"4.0.0","ts3.4":"4.0.0","ts3.5":"4.0.0","ts3.6":"4.0.0","ts3.7":"4.0.0","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.2","ts4.6":"4.0.2","ts4.7":"4.0.2","ts4.8":"4.0.2","ts4.9":"4.0.2","ts5.0":"4.0.2","ts5.1":"4.0.2","ts5.2":"4.0.2","ts5.3":"4.0.2"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-10-17T06:04:19.000Z","created":"2019-02-23T03:03:53.508Z","4.0.2":"2023-09-26T15:07:41.772Z","4.0.1":"2021-12-24T00:00:29.509Z","4.0.0":"2019-02-23T03:03:53.508Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/is-natural-number"},"versions":{"4.0.2":{"name":"@types/is-natural-number","version":"4.0.2","description":"TypeScript definitions for is-natural-number","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-natural-number","license":"MIT","contributors":[{"name":"DefinitelyTyped","url":"https://github.com/DefinitelyTyped","githubUsername":"DefinitelyTyped"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/is-natural-number"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"5d46bc836aff6329d11724c721970772636ea3e237407b43071a1617543586f1","typeScriptVersion":"4.5","_id":"@types/is-natural-number@4.0.2","dist":{"shasum":"bddb050f08770b6a6b922382cbaab065a794e51d","size":1746,"noattachment":false,"key":"/@types/is-natural-number/-/@types/is-natural-number-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/is-natural-number/download/@types/is-natural-number-4.0.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-natural-number_4.0.2_1695740861564_0.07308934024026881"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-26T15:07:41.772Z","publish_time":1695740861772,"_source_registry_name":"default","_cnpm_publish_time":1695740861772},"4.0.1":{"name":"@types/is-natural-number","version":"4.0.1","description":"TypeScript definitions for is-natural-number","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-natural-number","license":"MIT","contributors":[{"name":"DefinitelyTyped","url":"https://github.com/DefinitelyTyped","githubUsername":"DefinitelyTyped"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/is-natural-number"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"3fa3db5a9fe326268098c895a366c669197b80eba44c90dbcafe0b78cb61b681","typeScriptVersion":"3.8","_id":"@types/is-natural-number@4.0.1","dist":{"shasum":"4ce767a825d73096ac1a107d2b06bd99b6aa419a","size":1694,"noattachment":false,"key":"/@types/is-natural-number/-/@types/is-natural-number-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/is-natural-number/download/@types/is-natural-number-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/is-natural-number_4.0.1_1640304029367_0.3405744442528247"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-25T23:35:10.943Z","publish_time":1640304029509,"_cnpm_publish_time":1640304029509},"4.0.0":{"name":"@types/is-natural-number","version":"4.0.0","description":"TypeScript definitions for is-natural-number","license":"MIT","contributors":[{"name":" Adam Zerella","url":"https://github.com/adamzerella","githubUsername":"adamzerella"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/is-natural-number"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"e4684b864763c290cefcb86a0f8ae2269e86b64302ec2bff135305cdba95144c","typeScriptVersion":"2.0","_id":"@types/is-natural-number@4.0.0","dist":{"shasum":"782df17265d760153e257d3268e90c533347b1d2","size":1653,"noattachment":false,"key":"/@types/is-natural-number/-/@types/is-natural-number-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/is-natural-number/download/@types/is-natural-number-4.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-natural-number_4.0.0_1550891033352_0.9425009406655613"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:16:01.469Z","publish_time":1550891033508,"_cnpm_publish_time":1550891033508}},"readme":"# Installation\r\n> `npm install --save @types/is-natural-number`\r\n\r\n# Summary\r\nThis package contains type definitions for is-natural-number (https://github.com/shinnn/is-natural-number.js).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-natural-number.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-natural-number/index.d.ts)\r\n````ts\r\n// Type definitions for is-natural-number 4.0\n// Project: https://github.com/shinnn/is-natural-number.js\n// Definitions by: DefinitelyTyped <https://github.com/DefinitelyTyped>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\ninterface Options {\n    /**\n     * Setting this option true makes 0 regarded as a natural number.\n     */\n    includeZero: boolean;\n}\n\n/**\n * Rreturns true if the first argument is one of the natural numbers.\n * If not, or the argument is not a number, it returns false.\n */\ndeclare function isNaturalNumber(number: number | string, option?: Options): boolean;\n\nexport = isNaturalNumber;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 26 Sep 2023 14:36:22 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [DefinitelyTyped](https://github.com/DefinitelyTyped).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-natural-number","license":"MIT"}