Skip to main content


Deno is a JavaScript runtime that can import scripts from URLs.

Module scripts and type definitions are available at

Using the URL imports, deno run will automatically download scripts and types:

// @deno-types=""
import * as XLSX from '';

The module URL is the ECMAScript Module build on the SheetJS CDN. @deno-types instructs Deno to use the type definitions from the SheetJS CDN.

Deno support is considered experimental.

Great open source software grows with user tests and reports. Any issues should be reported to the Deno project for further diagnosis.

Watch the repo or subscribe to the RSS feed to be notified when new versions are released!

Encoding support

If Encoding support is required, cpexcel.full.mjs must be manually imported:

/* load the codepage support library for extended support with older formats  */
import * as cptable from '';

Upgrade Notes

Upgrading to the latest version involves changing the import URLs. The import and the types URLs should be updated at the same time:

-// @deno-types=""
+// @deno-types=""

-import * as XLSX from '';
+import * as XLSX from '';

-import * as cptable from '';
+import * as cptable from '';

Deno Registry

The official Deno registry is out of date. This is a registry bug.

The SheetJS CDN is the authoritative source for SheetJS modules.

Applications using the Deno registry can migrate by changing the URLs. After migrating, scripts can be updated by changing the version number.

The SheetJS CDN version has no v. For example, v0.18.3 maps to 0.18.3:

-// @deno-types="[email protected]/types/index.d.ts"
+// @deno-types=""

-import * as XLSX from '[email protected]/xlsx.mjs';
+import * as XLSX from '';

-import * as cptable from '[email protected]/dist/cpexcel.full.mjs';
+import * as cptable from '';