{"library":"empty","type":"library","category":null,"description":"The `empty` utility library, currently at version 0.10.1 (last published over 7 years ago), provides a collection of pre-defined empty objects, arrays, and no-operation functions. Its primary feature is enforcing immutability by applying `Object.freeze` to all returned entities by default. This behavior can be overridden if the `NODE_ENV` environment variable is set to `'production'`. The library was designed primarily for CommonJS environments, explicitly supporting Node.js and older browser bundling workflows via tools like Browserify. Due to its age and lack of recent updates, it does not support modern JavaScript module systems (ESM) or TypeScript natively, requiring manual declarations for type safety. Its key differentiator remains providing a consistent, immutable set of primitive empty values and noop functions.","language":"javascript","status":"abandoned","version":"0.10.1","tags":["javascript","empty","noop"],"last_verified":"Wed May 27","install":[{"cmd":"npm install empty","imports":["const empty = require('empty');","const { object } = require('empty');\n// or\nconst emptyObject = require('empty/object');","const { func } = require('empty');\n// or\nconst emptyFunction = require('empty/function');"]},{"cmd":"yarn add empty","imports":[]},{"cmd":"pnpm add empty","imports":[]}],"homepage":null,"github":"https://github.com/iclanzan/empty","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/empty","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/empty/compatibility"}}