{"library":"build-array","type":"library","category":null,"description":"The `build-array` package provides a minimalist utility for programmatically creating arrays of a specified `length`, optionally pre-filled with a given `value`. Currently stable at version 1.0.0, this package is likely in a maintenance state, receiving updates only for critical bug fixes if any, due to its straightforward and complete functionality. It offers a lightweight alternative to more verbose patterns like `new Array(length).fill(value)`, particularly useful in environments or coding styles where brevity and explicit initialization are preferred. Its primary differentiator is its single-function API, simplifying array creation and initial population without requiring chained methods or polyfills for older `Array.prototype.fill` behavior.","language":"javascript","status":"maintenance","version":"1.0.0","tags":["javascript","new","array","length","build","default","value"],"last_verified":"Wed May 27","install":[{"cmd":"npm install build-array","imports":["const buildArray = require('build-array');","import buildArray from 'build-array';"]},{"cmd":"yarn add build-array","imports":[]},{"cmd":"pnpm add build-array","imports":[]}],"homepage":null,"github":"https://github.com/ramitos/build-array","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/build-array","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/build-array/compatibility"}}