@esri/arcgis-rest-types

中文文档
3.8.0发布于 2025/04/16Apache-2.0TypeScript零依赖近 30 天下载 5.7万

Shared TypeScript types for @esri/arcgis-rest-js

原始使用文档
文档目录7 节
  1. Example
  2. API Reference
  3. Issues
  4. Versioning
  5. Contributing
  6. Changelog
  7. License

npm version build status Coverage Status apache licensed

@esri/arcgis-rest-types

Shared TypeScript types for @esri/arcgis-rest-* packages.

Example

npm install @esri/arcgis-rest-types
import { IPoint } from '@esri/arcgis-rest-types';

const myPoint = { x: -118.409, y: 33.943 } as IPoint

API Reference

Issues

If something isn't working the way you expected, please take a look at previously logged issues first. Have you found a new bug? Want to request a new feature? We'd love to hear from you.

If you're looking for help you can also post issues on GIS Stackexchange.

Versioning

For transparency into the release cycle and in striving to maintain backward compatibility, @esri/arcgis-rest-js is maintained under Semantic Versioning guidelines and will adhere to these rules whenever possible.

For more information on SemVer, please visit http://semver.org/.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Changelog

License

Copyright © 2017-2019 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's LICENSE file.

版本与发布记录

@esri/arcgis-rest-types 共发布 67 个版本,首次发布于 2019/04/23;过去 12 个月发布了 0 个版本。

版本发布日期距今
3.8.0latest2025/04/161.6 年前
3.7.02023/09/083 年前
3.6.02023/01/143 年前
3.5.12022/12/013 年前
3.5.02022/09/234 年前
3.4.32021/10/305 年前

其他发布通道:beta → 3.0.0-beta.0。

关于 @esri/arcgis-rest-types 的常见问题

@esri/arcgis-rest-types 是什么?

Shared TypeScript types for @esri/arcgis-rest-js

如何安装 @esri/arcgis-rest-types?

在项目目录运行 npm install @esri/arcgis-rest-types,或使用 pnpm add / yarn add / bun add。

@esri/arcgis-rest-types 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@esri/arcgis-rest-types 可以商用吗?

@esri/arcgis-rest-types 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@esri/arcgis-rest-types 的下载量有多少?

根据 npm 官方下载统计,@esri/arcgis-rest-types 在 2026/10/14 – 2026/11/12 这 30 天内被下载 56,660 次,日均约 1,889 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@esri/arcgis-rest-types 还在维护吗?

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