# sf-formula-parser > A TypeScript library for parsing and evaluating Salesforce formulas outside of Salesforce. Supports 90+ built-in functions, record context, related records, global variables, and prior value detection. This file contains links to documentation sections following the llmstxt.org standard. ## Table of Contents - [API Reference](https://sf-formula-parser.dev/docs/api-reference): Parse and evaluate a formula in a single call. This is the simplest way to use the library. - [Error Handling](https://sf-formula-parser.dev/docs/error-handling): The library throws typed errors that you can catch and inspect. All errors extend the base `FormulaError` class. - [Date & Time Functions](https://sf-formula-parser.dev/docs/functions/date-time): 21 functions for working with dates, times, and timestamps. - [Logical Functions](https://sf-formula-parser.dev/docs/functions/logical): 16 functions for branching, null-checking, and change detection. - [Math Functions](https://sf-formula-parser.dev/docs/functions/math): 19 functions for arithmetic, rounding, and geolocation. - [Text Functions](https://sf-formula-parser.dev/docs/functions/text): 30 functions for string manipulation, encoding, and pattern matching. - [Getting Started](https://sf-formula-parser.dev/docs/getting-started): Get up and running with `sf-formula-parser` in under two minutes. - [Record Context](https://sf-formula-parser.dev/docs/record-context): Every formula is evaluated against a `FormulaContext` — the object that represents the Salesforce record and its environment.