@dramaorg/delectus-culpa-reprehenderit

中文文档
3.5.94发布于 2024/08/12MITCommonJS近 30 天下载 2.3万

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

原始使用文档

@dramaorg/delectus-culpa-reprehenderit Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES2017 spec-compliant Object.values shim. Invoke its "shim" method to shim Object.values if it is unavailable or noncompliant.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec.

Most common usage:

var assert = require('assert');
var values = require('@dramaorg/delectus-culpa-reprehenderit');

var obj = { a: 1, b: 2, c: 3 };
var expected = [1, 2, 3];

if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') {
    // for environments with Symbol support
    var sym = Symbol();
    obj[sym] = 4;
    obj.d = sym;
    expected.push(sym);
}

assert.deepEqual(values(obj), expected);

if (!Object.values) {
    values.shim();
}

assert.deepEqual(Object.values(obj), expected);

Tests

Simply clone the repo, npm install, and run npm test

版本与发布记录

@dramaorg/delectus-culpa-reprehenderit 共发布 102 个版本,首次发布于 2024/05/03;过去 12 个月发布了 0 个版本。

版本发布日期距今
3.5.94latest2024/08/122 年前
3.5.932024/08/112 年前
3.5.922024/08/102 年前
3.5.912024/08/092 年前
3.5.902024/08/082 年前
3.5.892024/08/072 年前

关于 @dramaorg/delectus-culpa-reprehenderit 的常见问题

@dramaorg/delectus-culpa-reprehenderit 是什么?

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

如何安装 @dramaorg/delectus-culpa-reprehenderit?

在项目目录运行 npm install @dramaorg/delectus-culpa-reprehenderit,或使用 pnpm add / yarn add / bun add。

@dramaorg/delectus-culpa-reprehenderit 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/dramaorg__delectus-culpa-reprehenderit 是否存在。

@dramaorg/delectus-culpa-reprehenderit 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@dramaorg/delectus-culpa-reprehenderit 可以商用吗?

@dramaorg/delectus-culpa-reprehenderit 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@dramaorg/delectus-culpa-reprehenderit 的下载量有多少?

根据 npm 官方下载统计,@dramaorg/delectus-culpa-reprehenderit 在 2026/10/13 – 2026/11/11 这 30 天内被下载 22,548 次,日均约 752 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@dramaorg/delectus-culpa-reprehenderit 还在维护吗?

最新版本 3.5.94 发布于 2024/08/12(2 年前);至今共发布 102 个版本,其中过去 12 个月发布了 0 个;首次发布于 2024/05/03。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。