This commit is contained in:
SheetJS 2023-04-19 16:03:23 -04:00
parent 059a1a3783
commit 2e1eed486a
12 changed files with 31 additions and 14 deletions

View File

@ -4,12 +4,17 @@ sheetjs
docs.sheetjs.com
# Doc Structure
pagination_prev
pagination_next
TabItem
DocCardList
# frontmatter noise
api
csf
bigdata
dev
sql
# Excel-related terms
A1
@ -112,6 +117,8 @@ tooltips
9.x
APIs
ActiveX
Airtable
AlaSQL
AngularJS
ArrayBuffer
Auth
@ -128,6 +135,7 @@ CEP
CLI
CMS
CORS
CPAN
CRX
CS6
CapacitorJS
@ -139,6 +147,7 @@ DOM
DPI
DataGrid
Deno
DexieJS
Dojo
Downloadify
Drash
@ -160,6 +169,7 @@ GBK
GatsbyJS
GitLab
Goja
GraphQL
GraphiQL
HTML
HTML5
@ -175,6 +185,7 @@ InDesign
IndexedDB
Integrations
JDK
JE
JS
JSX
JavaScriptCore
@ -182,6 +193,7 @@ JerryScript
Knex
KnockoutJS
LLC
LTS
LWC
Lifecycle
LocalStorage
@ -210,6 +222,7 @@ Nuxt
NuxtJS
PPI
PhantomJS
PhoneGap
Photoshop
PostgreSQL
PouchDB
@ -268,6 +281,7 @@ WebGL
WebKit
WebSQL
Webpack
Win10
XHR
XMLHttpRequest
XP
@ -275,6 +289,7 @@ Xcode
angular-cli
async
axios
bitwise
bundler
bundlers
cleanroom
@ -297,6 +312,8 @@ iOS
iWork
javascript
lifecycle
localForage
macOS
metadata
microcontrollers
middleware

View File

@ -167,7 +167,7 @@ const update_backing_store = (wb: WorkBook) => {
// ...
```
_Data Store to GDG_
_Importing from Data Store_
Scheduling a refresh for the `DataEditor` involves updating the grid column
metadata and row count through the standard state. It also requires a special

View File

@ -293,7 +293,7 @@ function SheetJSFetchUL() {
`jQuery.ajax` (`$.ajax`) does not support binary data out of the box. A custom
`ajaxTransport` can add required functionality. SheetJS users have reported
success with `jquery.binarytransport.js`.
success with `jquery.binarytransport.js` in IE10.
After including the main `jquery.js` and `jquery.binarytransport.js` scripts,
`$.ajax` will support `dataType: "binary"` and `processData: false`.

View File

@ -365,7 +365,7 @@ export default defineTransformer({
});
```
- `sheetmodule.ts` (the nuxt configuration module):
- `sheetmodule.ts` (the Nuxt configuration module):
```ts title="sheetmodule.ts"
import { resolve } from 'path'

View File

@ -247,7 +247,7 @@ npx http-server dist
```
Open a web browser and access the displayed URL (usually http://localhost:8080).
View the webpage source and confirm that no JS was added to the page. It only
View the page source and confirm that no JS was added to the page. It only
contains the content from the file in an HTML table:
```html

View File

@ -146,7 +146,7 @@ The following snippet fetches data and passes to AlaSQL:
```js
const blob = await (await fetch("https://sheetjs.com/pres.numbers")).blob();
const data = URL.createOjectURL(blob);
const data = URL.createObjectURL(blob);
const res = await alasql.promise("SELECT * FROM XLSX(?, {autoExt: false}", [data]);
```
@ -169,7 +169,7 @@ By default the workbook is parsed and `sheet_to_json` is used to pull data:
```js
(async() => {
const blob = await (await fetch("https://sheetjs.com/pres.numbers")).blob();
const data = URL.createOjectURL(blob);
const data = URL.createObjectURL(blob);
const aoo = await alasql.promise("SELECT * FROM XLSX(?, {autoExt: false}", [data]);
console.log(aoo); // [ { Name: "Bill Clinton", Index: 42 }, ...]
})();

View File

@ -492,7 +492,7 @@ In local testing, committing each CSV row as it is generated is significantly
slower than accumulating and writing once at the end.
When the target CSV is known to be less than 500MB, it is preferable to batch.
Strings larger than 500M may hit browser length limits.
Larger files may hit browser length limits.
:::

View File

@ -244,7 +244,7 @@ cpan install JavaScript::Duktape
```
The Perl binding does not have raw `Buffer` ops, so Base64 strings are used.
With the [Extendscript](/docs/getting-started/installation/extendscript) build:
With the [ExtendScript](/docs/getting-started/installation/extendscript) build:
```perl SheetJSDuk.pl
# usage: perl SheetJSDuk.pl path/to/file

View File

@ -131,7 +131,7 @@ git checkout c3ead3f
cd ..
```
1) Download the source file and Makefile:
1) Download the source file and `Makefile`:
- [`sheetjs.ch.cpp`](pathname:///chakra/sheetjs.ch.cpp)
- [`Makefile`](pathname:///chakra/Makefile)

View File

@ -13,7 +13,7 @@ C engine like [`JavaScript::Duktape`](/docs/demos/engines/duktape)
JE is a pure-Perl JavaScript engine.
The [Extendscript build](/docs/getting-started/installation/extendscript) can be
The [ExtendScript build](/docs/getting-started/installation/extendscript) can be
parsed and evaluated in a JE context.

View File

@ -21,7 +21,7 @@ The `options` argument is required. It must specify
`writeFile` attempts to write `wb` to a local file with specified `filename`.
In browser-based environments, it will attempt to force a client-side download.
It also supports NodeJS, Extendscript applications, and Chromium extensions.
It also supports NodeJS, ExtendScript applications, and Chromium extensions.
If `options` is omitted or if `bookType` is missing from the `options` object,
the output file format will be deduced from the filename extension.
@ -43,7 +43,7 @@ This method only works in NodeJS and uses `fs.writeFile` under the hood.
:::note Recommendation
`writeFile` wraps a number of export techniques, making it suitable for browser
downloads, NodeJS, Extendscript apps, and Chromium extensions. It does not work
downloads, NodeJS, ExtendScript apps, and Chromium extensions. It does not work
in other environments with more advanced export methods.
The `write` method returns raw bytes or strings that can be exported in

View File

@ -57,7 +57,7 @@ will run the smaller feature-specific tests.
will run the smaller feature-specific tests.
</TabItem>
<TabItem value="extendscript" label="Extendscript">
<TabItem value="extendscript" label="ExtendScript">
`make dist` will build `xlsx.extendscript.js`.
@ -89,7 +89,7 @@ Edge originally was an independent browser, becoming a Chromium fork in version
79. Since the new releases should be nearly identical to the Chrome counterpart,
the Edge tests are run on major releases ending in `5` (starting from Edge 85).
**Server Runtimes**
**Server Platforms**
- NodeJS `0.8`, `0.10`, `0.12`, and every major version starting from `4`
- io.js 1/2/3
- Deno latest