@sheetxl/formulas 0.1.116 → 0.1.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/LICENSE.md +11 -0
- package/build/README.md +37 -0
- package/build/browser/cjs/index.cjs +1 -1
- package/build/browser/esm/index.mjs +1 -1
- package/build/node/esm/index.mjs +1 -1
- package/build/package.json +4 -5
- package/package.json +2 -2
package/build/LICENSE.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Repository Licensing
|
|
2
|
+
|
|
3
|
+
The SheetXL monorepo contains a mix of open-source and commercially licensed packages. Each package is individually licensed and contains its own license file.
|
|
4
|
+
|
|
5
|
+
For the specific terms and conditions applicable to a package, please see the `LICENSE.md` file located in that package's root directory.
|
|
6
|
+
|
|
7
|
+
Generally, packages intended for public distribution (such as CLIs, adapters, and vanilla wrappers) are licensed under the MIT license. All other core packages are proprietary and require a commercial license for use.
|
|
8
|
+
|
|
9
|
+
For more details on commercial licensing, please visit our website:
|
|
10
|
+
|
|
11
|
+
https://www.sheetxl.com/licensing-pricing
|
package/build/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# @sheetxl/formulas
|
|
2
|
+
|
|
3
|
+
A modern, type-safe library of spreadsheet functions, ready for any JavaScript or TypeScript project.
|
|
4
|
+
|
|
5
|
+
`@sheetxl/formulas` is the official open-source function library for [SheetXL](https://www.sheetxl.com).
|
|
6
|
+
It is designed to be robust, easy to use, and compatible with popular spreadsheet applications.
|
|
7
|
+
|
|
8
|
+
## Our Philosophy
|
|
9
|
+
|
|
10
|
+
This library has a simple goal: to create a comprehensive set of spreadsheet functions written in TypeScript.
|
|
11
|
+
|
|
12
|
+
Our implementation is heavily inspired by and derived from the great work done on
|
|
13
|
+
**[formulajs](https://formulajs.info/)**. We are deeply grateful for their contribution to the community and aim to build upon that foundation with a modern, type-safe architecture.
|
|
14
|
+
|
|
15
|
+
Our plan is to support the complete function sets of **Microsoft Excel** and **Google Sheets**, while also embracing new and useful functions suggested by the community.
|
|
16
|
+
|
|
17
|
+
## Key Features
|
|
18
|
+
|
|
19
|
+
* **Comprehensive:** Growing support for Math, Text, Logical, Financial, and Lookup functions.
|
|
20
|
+
* **TypeScript First:** Written from the ground up in TypeScript for robust type safety.
|
|
21
|
+
* **Vector Optimized:** Functions are designed to leverage the vector API of `@sheetxl/primitives`, allowing them to efficiently operate on ranges of data (`IRange`), not just single values.
|
|
22
|
+
* **Engine-Agnostic & Lightweight:** A simple TypeScript API with no spreadsheet engine dependency. Its only core dependency is `@sheetxl/primitives`.
|
|
23
|
+
* **Permissively Licensed:** Free to use for any project under the MIT license.
|
|
24
|
+
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
# Using npm
|
|
29
|
+
npm install @sheetxl/formulas @sheetxl/primitives
|
|
30
|
+
|
|
31
|
+
# Using pnpm
|
|
32
|
+
pnpm add @sheetxl/formulas @sheetxl/primitives
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Full list of Excel functions
|
|
36
|
+
|
|
37
|
+
https://support.office.com/en-us/article/excel-functions-by-category-5f91f4e9-7b42-46d2-9bd1-63f26a86c0eb
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/formulas -
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.1.119
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/formulas -
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.1.119
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
package/build/node/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/formulas -
|
|
2
|
+
* @license @sheetxl/formulas - Formulas - TypeScript formulas compatible with Excel built-ins. - v0.1.119
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
package/build/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/formulas",
|
|
3
|
-
"description": "
|
|
4
|
-
"version": "0.1.
|
|
3
|
+
"description": "Formulas - TypeScript formulas compatible with Excel built-ins.",
|
|
4
|
+
"version": "0.1.120",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -31,10 +31,9 @@
|
|
|
31
31
|
"formulas"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@sheetxl/primitives": "^0.
|
|
34
|
+
"@sheetxl/primitives": "^0.1.119",
|
|
35
35
|
"bahttext": "^2.3.0",
|
|
36
36
|
"bessel": "^1.0.2",
|
|
37
37
|
"jstat": "^1.9.6"
|
|
38
|
-
}
|
|
39
|
-
"devDependencies": {}
|
|
38
|
+
}
|
|
40
39
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/formulas",
|
|
3
3
|
"description": "Formulas - TypeScript formulas compatible with Excel built-ins.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.120",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"author": "Michael T Ford",
|
|
7
7
|
"private": false,
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"bahttext": "^2.3.0",
|
|
28
28
|
"bessel": "^1.0.2",
|
|
29
29
|
"jstat": "^1.9.6",
|
|
30
|
-
"@sheetxl/primitives": "0.1.
|
|
30
|
+
"@sheetxl/primitives": "0.1.120"
|
|
31
31
|
},
|
|
32
32
|
"optionalDependencies": {
|
|
33
33
|
"@xmldom/xmldom": "^0.9.8",
|