# core-js
[![Sponsors on Open Collective](https://opencollective.com/core-js/sponsors/badge.svg)](#raising-funds) [![Backers on Open Collective](https://opencollective.com/core-js/backers/badge.svg)](#raising-funds) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/zloirock/core-js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![version](https://img.shields.io/npm/v/core-js.svg)](https://www.npmjs.com/package/core-js) [![npm downloads](https://img.shields.io/npm/dm/core-js.svg)](http://npm-stat.com/charts.html?package=core-js&author=&from=2014-11-18) [![Build Status](https://travis-ci.org/zloirock/core-js.svg)](https://travis-ci.org/zloirock/core-js) [![devDependency status](https://david-dm.org/zloirock/core-js/dev-status.svg)](https://david-dm.org/zloirock/core-js?type=dev)
## As advertising: the author is looking for a good job :)
## [core-js@3, babel and a look into the future](https://github.com/zloirock/core-js/tree/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md)
## Raising funds
`core-js` isn't backed by a company, so the future of this project depends on you. Become a sponsor or a backer [**on Open Collective**](https://opencollective.com/core-js) or [**on Patreon**](https://www.patreon.com/zloirock) if you are interested in `core-js`.
---
<a href="https://opencollective.com/core-js/sponsor/0/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/0/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/1/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/1/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/2/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/2/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/3/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/3/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/4/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/4/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/5/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/5/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/6/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/6/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/7/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/7/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/8/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/8/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/9/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/9/avatar.svg"></a>
---
<a href="https://opencollective.com/core-js#backers" target="_blank"><img src="https://opencollective.com/core-js/backers.svg?width=890"></a>
---
**It's documentation for obsolete `core-js@2`. If you looking documentation for actual `core-js` version, please, check [this branch](https://github.com/zloirock/core-js/tree/master).**
Modular standard library for JavaScript. Includes polyfills for [ECMAScript 5](#ecmascript-5), [ECMAScript 6](#ecmascript-6): [promises](#ecmascript-6-promise), [symbols](#ecmascript-6-symbol), [collections](#ecmascript-6-collections), iterators, [typed arrays](#ecmascript-6-typed-arrays), [ECMAScript 7+ proposals](#ecmascript-7-proposals), [setImmediate](#setimmediate), etc. Some additional features such as [dictionaries](#dict) or [extended partial application](#partial-application). You can require only needed features or use it without global namespace pollution.
[*Example*](http://goo.gl/a2xexl):
```js
Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
'*'.repeat(10); // => '**********'
Promise.resolve(32).then(x => console.log(x)); // => 32
setImmediate(x => console.log(x), 42); // => 42
```
[*Without global namespace pollution*](http://goo.gl/paOHb0):
```js
var core = require('core-js/library'); // With a modular system, otherwise use global `core`
core.Array.from(new core.Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
core.String.repeat('*', 10); // => '**********'
core.Promise.resolve(32).then(x => console.log(x)); // => 32
core.setImmediate(x => console.log(x), 42); // => 42
```
### Index
- [Usage](#usage)
- [Basic](#basic)
- [CommonJS](#commonjs)
- [Custom build](#custom-build-from-the-command-line)
- [Supported engines](#supported-engines)
- [Features](#features)
- [ECMAScript 5](#ecmascript-5)
- [ECMAScript 6](#ecmascript-6)
- [ECMAScript 6: Object](#ecmascript-6-object)
- [ECMAScript 6: Function](#ecmascript-6-function)
- [ECMAScript 6: Array](#ecmascript-6-array)
- [ECMAScript 6: String](#ecmascript-6-string)
- [ECMAScript 6: RegExp](#ecmascript-6-regexp)
- [ECMAScript 6: Number](#ecmascript-6-number)
- [ECMAScript 6: Math](#ecmascript-6-math)
- [ECMAScript 6: Date](#ecmascript-6-date)
- [ECMAScript 6: Promise](#ecmascript-6-promise)
- [ECMAScript 6: Symbol](#ecmascript-6-symbol)
- [ECMAScript 6: Collections](#ecmascript-6-collections)
- [ECMAScript 6: Typed Arrays](#ecmascript-6-typed-arrays)
- [ECMAScript 6: Reflect](#ecmascript-6-reflect)
- [ECMAScript 7+ proposals](#ecmascript-7-proposals)
- [stage 4 proposals](#stage-4-proposals)
- [stage 3 proposals](#stage-3-proposals)
- [stage 2 proposals](#stage-2-proposals)
- [stage 1 proposals](#stage-1-proposals)
- [stage 0 proposals](#stage-0-proposals)
- [pre-stage 0 proposals](#pre-stage-0-proposals)
- [Web standards](#web-standards)
- [setTimeout / setInterval](#settimeout--setinterval)
- [setImmediate](#setimmediate)
- [iterable DOM collections](#iterable-dom-collections)
- [Non-standard](#non-standard)
- [Object](#object)
- [Dict](#dict)
- [partial application](#partial-application)
- [Number Iterator](#number-iterator)
- [escaping strings](#escaping-strings)
- [delay](#delay)
- [helpers for iterators](#helpers-for-iterators)
- [Missing polyfills](#missing-polyfills)
- [Changelog](./CHANGELOG.md)
## Usage
### Basic
```
npm i core-js
bower install core.js
```
```js
// Default
require('core-js');
// Without global namespace pollution
var core = require('core-js/library');
// Shim only
require('core-js/shim');
```
If you need complete build for browser, use builds from `core-js/client` path:
* [default](https://raw.githack.com/zloirock/core-js/v2.6.12/client/core.min.js): Includes all features, standard and non-standard.
* [as a library](https://raw.githack.com/zloirock/core-js/v2.6.12/client/library.min.js): Like "default", but does not pollute the global namespace (see [2nd example at the top](#core-js)).
* [shim only](https://raw.githack.com/zloirock/core-js/v2.6.12/client/shim.min.js): Only includes the standard methods.
Warning: if you use `core-js` with the extension of native objects, require all needed `core-js` modules at the beginning of entry point of your application, otherwise, conflicts may occur.
### CommonJS
You can require only needed modules.
```js
require('core-js/fn/set');
require('core-js/fn/array/from');
require('core-js/fn/array/find-index');
Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
[1, 2, NaN, 3, 4].findIndex(isNaN); // => 2
// or, w/o global namespace pollution:
var Set = require('core-js/library/fn/set');
var from = require('core-js/library/fn/array/from');
var findIndex = require('core-js/library/fn/array/find-index');
from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
findIndex([1, 2, NaN, 3, 4], isNaN); // => 2
```
Available entry points for methods / constructors, as above examples, and namespaces: for example, `core-js/es6/array` (`core-js/library/es6/array`) contains all [ES6 `Arra
没有合适的资源?快使用搜索试试~ 我知道了~
基于大数据区块链农产品溯源系统.zip
共2002个文件
js:875个
md:703个
json:242个
需积分: 5 12 下载量 119 浏览量
2023-12-25
14:14:04
上传
评论 1
收藏 58.09MB ZIP 举报
温馨提示
系统概述: 描述:资源是一个基于大数据和区块链技术的农产品溯源系统。 目的:实现农产品生产过程的全程追溯,提高产品质量、安全性和透明度。 技术架构: 描述:详细说明系统采用的技术架构和相关技术。 资源: 大数据技术(例如,Hadoop、Spark等) 区块链平台(例如,Hyperledger Fabric、Ethereum等) 相关的数据库和存储技术 溯源流程: 描述:说明农产品从生产到消费的整个溯源流程。 资源: 农产品生产环节的数据采集 数据上传和存储的过程 溯源信息查询和展示 数据采集: 描述:说明系统如何收集农产品生产过程中的关键数据。 资源: 传感器、物联网设备等数据采集工具 生产环节中的关键数据点 区块链应用: 描述:阐述区块链技术在农产品溯源中的应用。 资源: 区块链智能合约的设计和实现 数据上链的过程 区块链的去中心化特性如何增强溯源的可信度 大数据分析: 描述:说明大数据技术如何用于对农产品数据进行分析。 资源: 大数据处理流程和算法 数据分析结果的展示和报告 安全性和隐私保护: 描述:强调系统对数据安全性和用户隐私的保护措施。 资源: 区块链的安全机制
资源推荐
资源详情
资源评论
收起资源包目录
基于大数据区块链农产品溯源系统.zip (2002个子文件)
base.css 5KB
prettify.css 677B
.DS_Store 6KB
.DS_Store 6KB
basicInfo.go 4KB
config.html 78KB
package-json.html 40KB
npm-install.html 33KB
scripts.html 22KB
npm-audit.html 19KB
npm-exec.html 19KB
npm-link.html 19KB
npm-update.html 19KB
package-lock-json.html 16KB
npm-diff.html 16KB
npm-ls.html 15KB
npm-install-test.html 15KB
npm-dedupe.html 15KB
npm-publish.html 15KB
developers.html 14KB
folders.html 14KB
npm-init.html 14KB
npm-run-script.html 13KB
npm-version.html 13KB
npm-pkg.html 13KB
npm-find-dupes.html 13KB
npm-outdated.html 12KB
npx.html 11KB
workspaces.html 11KB
npm.html 11KB
npm-view.html 11KB
npm-dist-tag.html 11KB
npm-doctor.html 10KB
npm-unpublish.html 10KB
npm-prune.html 10KB
npm-search.html 10KB
scope.html 10KB
npm-team.html 9KB
npm-token.html 9KB
npm-config.html 9KB
npm-profile.html 9KB
npm-uninstall.html 9KB
npm-rebuild.html 9KB
npm-pack.html 9KB
npm-fund.html 8KB
registry.html 8KB
npm-access.html 8KB
npm-docs.html 8KB
install.html 8KB
npm-cache.html 8KB
npm-ci.html 8KB
npmrc.html 8KB
npm-repo.html 8KB
npm-explain.html 7KB
npm-hook.html 7KB
npm-set-script.html 7KB
orgs.html 7KB
npm-org.html 7KB
npm-adduser.html 7KB
npm-unstar.html 7KB
npm-start.html 6KB
npm-logout.html 6KB
npm-deprecate.html 6KB
npm-owner.html 6KB
npm-restart.html 6KB
npm-star.html 6KB
npm-stop.html 6KB
npm-install-ci-test.html 6KB
npm-test.html 6KB
npm-bugs.html 6KB
npm-prefix.html 6KB
removal.html 6KB
npm-root.html 5KB
npm-edit.html 5KB
npm-explore.html 5KB
npm-help.html 5KB
npm-shrinkwrap-json.html 5KB
npm-bin.html 5KB
npm-whoami.html 5KB
npm-stars.html 5KB
npm-help-search.html 5KB
npm-ping.html 5KB
npm-shrinkwrap.html 5KB
npm-completion.html 5KB
index.html 3KB
index.html 3KB
index.js.html 2KB
FabricClient.java 15KB
CommonUse.java 8KB
QueryChainCodeController.java 6KB
InvokeChainCodeController.java 5KB
ChannelController.java 4KB
Trace.java 4KB
AgricultureUtils.java 3KB
mytest.java 3KB
Path.java 3KB
UserUtils.java 3KB
MyUtils1.java 3KB
Cost.java 3KB
MyUtils.java 2KB
共 2002 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21
资源评论
星川皆无恙
- 粉丝: 1w+
- 资源: 53
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功