open-index/open-npm huggingface dataset:
npm package: @functionless/language-service
Description: A TypeScript Language Service Plugin that shows Functionless errors in the IDE
Latest version: 0.0.4

# Functionless Language Service Plugin

[![npm version](https://badge.fury.io/js/@functionless%2Flanguage-service.svg)](https://badge.fury.io/js/@functionless%2Flanguage-service)

The `@functionless/language-service` package configures a plugin for the TypeScript language service plugin that adds real-time errors to the IDE for [Functionless](https://github.com/functionless/functionless)'s semantic errors.

![Step Function Arithmetic Error](./img/ide-language-service-preview.png)

To configure, first install the module as a devDependency.

```shell
# if using NPM
npm install --save-dev @functionless/language-service

# if using yarn
yarn add -D @functionless/language-service
```

Then add as a plugin to your `tsconfig.json`.

```json
{
  "compilerOptions": {
    "plugins": [
      {
        "name": "@functionless/language-service"
      }
    ]
  }
}
```
npm package: @functionless/nodejs-closure-serializer
Description: A fork of the nodejs closure serializer in @pulumi/pulumi
Latest version: 0.1.5

# Closure Serializer

This is a **fork** of the [Pulumi](https://www.pulumi.com/) Closure Serializer. [`@pulumi/pulumi`](https://github.com/pulumi/pulumi/tree/master/sdk/nodejs/runtime/closure).

## Motivation

[Functionless](https://github.com/functionless/functionless) allows developers to write cloud applications (using [`aws-cdk`](https://aws.amazon.com/cdk/)) with pure typescript.

```ts
const sfn = new StepFunction(stack, "sfn", () => {
  /* something in the state machine */
  return "result";
});

new Function(stack, "func", async () => {
  return sfn();
});
```

> More on `Function` in the doc: https://functionless.org/docs/concepts/function

Pulumi's closure serializer helped us bootstrap this experience by doing the heavy lifting of runtime data serialization.

However, Pulumi's serializer had a few short comings:

1. Coupled to the whole `@pulumi/pulumi` npm package
2. Limited extensibility
3. Makes use of Pulumi resources (Logging and Secrets) in the serializer

## Changes from [Pulumi](https://github.com/pulumi/pulumi/tree/master/sdk/nodejs/runtime/closure)

- Bug Fix: Symbol Support
- Removed: Pulumi Secret support
- Removed: Pulumi Logging support
- Change: `serialize` function support replacement of runtime data to be serialized on top of avoiding serialization
- Change: [Do not serialize functions and constructors that are not invoked](https://github.com/functionless/nodejs-closure-serializer/pull/8)
- Change: Anonymous functions can be injected at runtime through the serialize callback.
- Change: Allow for TypeScript TransformerFactory functions to be applied to serialized closures.
- Change: Replace the `with` syntax with simple `let` statements.

## Forked from

https://github.com/pulumi/pulumi/releases/tag/v3.33.2
npm package: @functionless/projen
Description: Projen templates for Functionless projects
Author: sam@functionless.org
Latest version: 0.2.0

# @functionless/projen

`@functionless/projen` provides a [projen](https://github.com/projen/projen) project and component for configuring new and existing projects to use `Functionless`.

# Usage

## To create a new project

To create a new `FunctionlessProject`, which wraps a `AwsCdkTypeScriptApp` configured with the `Functionless` compiler plugin, run:

```
npx projen new --from @functionless/projen
```

## To add to an existing project

Install the dependency in your application

```
npm install --save-dev @functionless/projen

OR

yarn add -D @functionless/projen
```

Then apply the `Functionless` component to your project.

```js
const { TypescriptProject } = require("projen");
const { Functionless } = require("@functionless/projen");

const project = new TypescriptProject({
  ...
});

new Functionless(project);

project.synth();
```
npm package: @functionx_io/contracts
Description: Smart Contract library for Solidity
Latest version: 0.3.1

# Pundi AIFX contracts

[![NPM Package](https://img.shields.io/npm/v/@functionx_io/contracts.svg)](https://www.npmjs.org/package/@functionx_io/contracts)

## Overview

### Installation

```
$ yarn add @functionx_io/contracts
```

### Testing

```
# Run normal tests
$ yarn test

# Run tests with fork network

# 1. Start a local node fork network

$ yarn fork:xxxx

# 2. Run tests with fork network

$ yarn fork:test

```
npm package: @functionx_io/fx-js-sdk
Description: fxcore js sdk
Author: zakir
Latest version: 0.4.3

# @functionx_io/fx-js-sdk

[![npm version](https://img.shields.io/npm/v/@functionx_io/fx-js-sdk.svg)](https://www.npmjs.com/package/@functionx_io/fx-js-sdk)

## Install

```shell
npm install @functionx_io/fx-js-sdk
```

## Usage

```js
import fxsdk from '@functionx_io/fx-js-sdk';
```

## Development

### Install dependencies

```shell
yarn install
```

### Build

```shell
yarn build
```

## Build proto

```shell
git submodule update --init --recursive --remote
yarn codegen
```

### Test

```shell
wget https://raw.githubusercontent.com/functionx/fx-core/main/develop/run_fxcore.sh
chmod +x run_fxcore.sh
export FX_DEBUG=true ./run_fxcore.sh init
yarn test
```

## License

[Apache License 2.0](LICENSE)