@bevry/fs-accessible

中文文档
2.5.0发布于 2023/12/29Artistic-2.0TypeScriptESM + CJS近 30 天下载 2744

Check if a path is accessible

原始使用文档
文档目录10 节
  1. Usage
  2. Install
  3. npm
  4. Deno
  5. Editions
  6. History
  7. Backers
  8. Code
  9. Finances
  10. License

@bevry/fs-accessible

Status of the GitHub Workflow: bevry NPM version NPM downloads
GitHub Sponsors donate button ThanksDev donate button Patreon donate button Liberapay donate button Buy Me A Coffee donate button Open Collective donate button crypto donate button PayPal donate button
Discord server badge Twitch community badge

Check if a path is accessible

Usage

Complete API Documentation.

Install

npm

  • Install: npm install --save @bevry/fs-accessible
  • Import: import pkg from ('@bevry/fs-accessible')
  • Require: const pkg = require('@bevry/fs-accessible').default

Deno

import pkg from 'https://unpkg.com/@bevry/fs-accessible@^2.5.0/edition-deno/index.ts'

Editions

This package is published with the following editions:

  • @bevry/fs-accessible aliases @bevry/fs-accessible/index.cjs which uses the Editions Autoloader to automatically select the correct edition for the consumer's environment
  • @bevry/fs-accessible/source/index.ts is TypeScript source code with Import for modules
  • @bevry/fs-accessible/edition-es2022/index.js is TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules
  • @bevry/fs-accessible/edition-es2015/index.js is TypeScript compiled against ES2015 for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules
  • @bevry/fs-accessible/edition-es5/index.js is TypeScript compiled against ES5 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules
  • @bevry/fs-accessible/edition-es2022-esm/index.js is TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules
  • @bevry/fs-accessible/edition-types/index.d.ts is TypeScript compiled Types with Import for modules
  • @bevry/fs-accessible/edition-deno/index.ts is TypeScript source code made to be compatible with Deno

History

Discover the release history by heading on over to the HISTORY.md file.

Backers

Code

Discover how to contribute via the CONTRIBUTING.md file.

Authors

Maintainers

Contributors

Finances

GitHub Sponsors donate button ThanksDev donate button Patreon donate button Liberapay donate button Buy Me A Coffee donate button Open Collective donate button crypto donate button PayPal donate button

Sponsors

  • Andrew Nesbitt — Software engineer and researcher
  • Balsa — We're Balsa, and we're building tools for builders.
  • Codecov — Empower developers with tools to improve code quality and testing.
  • Poonacha Medappa
  • Rob Morris
  • Sentry — Real-time crash reporting for your web apps, mobile apps, and games.
  • Syntax — Syntax Podcast

Donors

License

Unless stated otherwise all works are:

and licensed under:

版本与发布记录

@bevry/fs-accessible 共发布 17 个版本,首次发布于 2023/11/16;过去 12 个月发布了 0 个版本。

版本发布日期距今
2.5.0latest2023/12/292 年前
2.5.0-next.1703837312.c5d82283530642c7145fea081fd42bd3bd9ad2a5next2023/12/292 年前
2.4.02023/12/272 年前
2.4.0-next.1703669616.4876dd316e4802f4fded9d6d3afa08a771a1c45a2023/12/272 年前
2.3.02023/12/062 年前
2.3.0-next.1701797677.837187190d52b895dc1d19362f8b22ac4984b28a2023/12/062 年前

关于 @bevry/fs-accessible 的常见问题

@bevry/fs-accessible 是什么?

Check if a path is accessible

如何安装 @bevry/fs-accessible?

在项目目录运行 npm install @bevry/fs-accessible,或使用 pnpm add / yarn add / bun add。

@bevry/fs-accessible 支持 TypeScript 吗?

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

@bevry/fs-accessible 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@bevry/fs-accessible 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=4。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@bevry/fs-accessible 可以商用吗?

@bevry/fs-accessible 使用 Artistic-2.0 许可。声明的许可为 Artistic-2.0,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@bevry/fs-accessible 的下载量有多少?

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

@bevry/fs-accessible 还在维护吗?

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