open-index/open-npm huggingface dataset:
npm package: @leanspec/ai-worker
Description: LeanSpec AI worker for IPC chat
Author: Marvin Zhang
Latest version: 0.2.21

# @leanspec/ai-worker

IPC-based AI worker process for LeanSpec. This package is spawned by the Rust HTTP server and communicates over stdin/stdout using JSON Lines.

## Usage

```bash
pnpm --filter @leanspec/ai-worker build
```

The worker is started by the Rust HTTP server. You generally do not run it manually.
npm package: @leanstacks/cra-template-typescript
Description: LeanStacks base TypeScript template for Create React App.
Author: LeanStacks
Latest version: 1.0.0

# @leanstacks/cra-template-typescript

A Create React App template using TypeScript and a curated technology stack used by the LeanStacks organization.

To use this template, add `--template @leanstacks/typescript` when creating a new app.

For example:

```shell
npx create-react-app my-app --template @leanstacks/typescript

# or

yarn create react-app my-app --template @leanstacks/typescript
```

This CRA template extends the base CRA template with the following technologies:

- TypeScript Language
- React Router
- React Query
- React Spring
- Tailwind CSS
- Font Awesome

For more information, please refer to:

- [Getting Started](https://create-react-app.dev/docs/getting-started/) - How to create a new app with Create React App.
- [User Guide][cra] - How to develop apps bootstrapped with Create React App.

[cra]: https://create-react-app.dev/
npm package: @leanstacks/react-common
Description: Leanstacks organization common React components.
Author: LeanStacks
Latest version: 1.1.0

# @leanstacks/react-common

A suite of common React components used to compose React applications for the LeanStacks organization.

## Requirements

This library requires the following

- Node [LTS](https://github.com/nodejs/Release) 18 or higher
- React 18.x
- TailwindCSS 3.x

## Install

To install this library, issue the following command in your react project

```shell
npm install @leanstacks/react-common
```

### Configure Tailwind

LeanStacks components are styled with [TailwindCSS](https://tailwindcss.com/). You must include this library in your project's Tailwind configuration so that Tailwind styles are applied to the components from this library.

In your project, create or open your `tailwind.config.js` file. Ensure that LeanStacks library paths are included by adding `'./node_modules/@leanstacks/**/*.{js,jsx,ts,tsx}'` to the `content` section.

```js
/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ['./src/**/*.{js,jsx,ts,tsx}', './node_modules/@leanstacks/**/*.{js,jsx,ts,tsx}'],
  darkMode: 'class',
  theme: {
    extend: {},
  },
  plugins: [],
};
```

See the [Tailwind installation guide](https://tailwindcss.com/docs/installation) for more details about this configuration file.

## Use

To use React components from the library in your React application, simply import the desired component(s) and use them as you would any React component.

```typescript
import { Text, TextVariant } from '@leanstacks/react-common';

const MyComponent: React.FC = () => {
  return (
    <Text variant={TextVariant.Heading1} className="mb-4">
      Welcome to React!
    </Text>
  );
};
```

## Editor

To prevent warnings from Tailwind CSS rules, install a plugin like the [Tailwind CSS Intellisense](https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss) plugin for Visual Studio Code.

If you are using Prettier, you may also install the [Prettier plugin for Tailwind](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) that will automatically sort Tailwind classes in the recommended order.

## License

[MIT License](./LICENSE)
npm package: @leanstacks/serverless-common
Description: LeanStacks organization common serverless components.
Author: LeanStacks
Latest version: 1.3.0-alpha.2

# @leanstacks/serverless-common

A suite of common components used to compose serverless application components for the LeanStacks organization.

## License

[MIT License](./LICENSE)

## Requirements

This library requires the following:

- Node >= 20.11.x

## Install

To install this library, issue the following command in your AWS Serverless project:

```
npm install @leanstacks/serverless-common
```

## Documentation

For more detailed information regarding specific components see the [documentation](/docs/DOCS.md).
npm package: @leantechniques/excel-formula
Description: Methods to beautify an excel formula and convert it to JavaScript or C#
Author: Josh Bennett
Latest version: 1.2.2

# Excel Formula Utilities for JavaScript

[![Build Status](https://travis-ci.org/joshbtn/excelFormulaUtilitiesJS.svg?branch=master)](https://travis-ci.org/joshbtn/excelFormulaUtilitiesJS)

## ExcelFormulaBeautifier.com
To submit pull requests for ExcelFormulaBeautifier.com please oppen a pull request after gh-pages branch.
To submit pull requests for [ExcelFormulaBeautifier.com](http://ExcelFormulaBeautifier.com) please use this branch.
Changes to the core js library live in the master branch.

##Install using npm
npm install excel-formula

## Installation for web
Grab the latest js files in the dist folder.

## Basic usage for web
    <script src="excel-formula.js" />
    <script>
        var formattedFormula = excelFormulaUtilities.formatFormulaHTML('IF(1+1=2,"true","false")');
        alert(formattedFormula)
    </script>

## Basic Usage for Node
    var formula = require('excel-formula');
    var formattedFormula = formula.formatFormula('IF(1+1=2,"true","false")');
    console.log(formatFormula);

## Node methods
See basic usage above.
```javascript
    formula.getTokens (formula);
    formula.formatFormula (formula, [opts])
    formula.toJavaScript(formula)
    formula.toCSharp(formula)
```
## Web methods
excelFormulaUtilities is a global variable.
```javascript
    excelFormulaUtilities.getTokens (formula);
    excelFormulaUtilities.formatFormula (formula, [opts]) // This will work fine in a pre tag
    excelFormulaUtilities.formatFormulaHTML(formula) // Use this if you want the output as html.
    excelFormulaUtilities.formula2JavaScript(formula)
    excelFormulaUtilities.formula2CSharp(formula)
```