Skip to main content
Home

Built and signed on GitHub Actions

Validator for the Brain Imaging Data Structure

This package works with Deno, BrowsersIt is unknown whether this package works with Node.js
It is unknown whether this package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
94%
Published
2 months ago (2.0.5)
class BIDSFileDeno
implements BIDSFile

Deno implementation of BIDSFile

Constructors

new
BIDSFileDeno(
datasetPath: string,
path: string,
ignore?: FileIgnoreRules,
parent?: FileTree,
)

Properties

Methods

private
_getPath(): string

Read bytes in a range efficiently from a given file

Reads up to size bytes, starting at offset. If EOF is encountered, the resulting array may be smaller.

Read the entire file and decode as utf-8 text

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@bids/validator

Import symbol

import { BIDSFileDeno } from "@bids/validator/files";
or

Import directly with a jsr specifier

import { BIDSFileDeno } from "jsr:@bids/validator/files";

Add Package

pnpm i jsr:@bids/validator
or (using pnpm 10.8 or older)
pnpm dlx jsr add @bids/validator

Import symbol

import { BIDSFileDeno } from "@bids/validator/files";

Add Package

yarn add jsr:@bids/validator
or (using Yarn 4.8 or older)
yarn dlx jsr add @bids/validator

Import symbol

import { BIDSFileDeno } from "@bids/validator/files";

Add Package

npx jsr add @bids/validator

Import symbol

import { BIDSFileDeno } from "@bids/validator/files";