Skip to content

Commit

Permalink
Update docs to use generic-filehandle2
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Mar 3, 2025
1 parent 2fe6529 commit 6f46253
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ Read UCSC Trix indexes in pure JavaScript

```js
import Trix from '@gmod/trix'
import { RemoteFile } from 'generic-filehandle'
import { RemoteFile } from 'generic-filehandle2'

// any filehandle object that supports the Nodejs FileHandle API will work.
// We use generic-filehandle here to demonstrate searching files on remote servers.
// We use generic-filehandle2 here to demonstrate searching files on remote servers.
const ixxFile = new RemoteFile(
'https://hgdownload.soe.ucsc.edu/gbdb/hg38/knownGene.ixx',
)
Expand Down

0 comments on commit 6f46253

Please sign in to comment.