UNPKG

@stdlib/array-min-dtype

Version:

Determine the minimum array data type of the closest kind necessary for storing a provided scalar value.

87 lines (86 loc) 2.2 kB
{ "name": "@stdlib/array-min-dtype", "version": "0.3.0", "description": "Determine the minimum array data type of the closest kind necessary for storing a provided scalar value.", "license": "Apache-2.0", "author": { "name": "The Stdlib Authors", "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" }, "contributors": [ { "name": "The Stdlib Authors", "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" } ], "main": "./lib", "directories": { "doc": "./docs", "lib": "./lib", "dist": "./dist" }, "types": "./docs/types", "scripts": {}, "homepage": "https://stdlib.io", "repository": { "type": "git", "url": "git://github.com/stdlib-js/array-min-dtype.git" }, "bugs": { "url": "https://github.com/stdlib-js/stdlib/issues" }, "dependencies": { "@stdlib/assert-is-boolean": "^0.2.2", "@stdlib/assert-is-complex-like": "^0.2.2", "@stdlib/assert-is-number": "^0.2.2", "@stdlib/constants-float32-max-safe-integer": "^0.2.2", "@stdlib/constants-float32-min-safe-integer": "^0.2.2", "@stdlib/constants-float32-smallest-subnormal": "^0.2.2", "@stdlib/constants-float64-ninf": "^0.2.2", "@stdlib/constants-float64-pinf": "^0.2.2", "@stdlib/constants-int16-min": "^0.2.2", "@stdlib/constants-int32-min": "^0.2.2", "@stdlib/constants-int8-min": "^0.2.2", "@stdlib/constants-uint16-max": "^0.2.2", "@stdlib/constants-uint32-max": "^0.2.2", "@stdlib/constants-uint8-max": "^0.2.2", "@stdlib/math-base-assert-is-integer": "^0.2.5", "@stdlib/math-base-assert-is-negative-zero": "^0.2.2" }, "devDependencies": {}, "engines": { "node": ">=0.10.0", "npm": ">2.7.0" }, "os": [ "aix", "darwin", "freebsd", "linux", "macos", "openbsd", "sunos", "win32", "windows" ], "keywords": [ "stdlib", "stdtypes", "types", "array", "scalar", "type", "memory", "minimum", "dtype", "utilities", "utility", "utils", "util" ], "__stdlib__": {}, "funding": { "type": "opencollective", "url": "https://opencollective.com/stdlib" } }