open-index/open-npm huggingface dataset:
npm package: @puzzle-io/sdk
Description: Puzzle is an Backend SDK to create graceful APIs
Author: Victor Caetano
Latest version: 1.7.0

# 🧩 Puzzle Framework

### _Puzzle is an Backend SDK to create graceful APIs._

<br/>

![Puzzle](/readme.png)

<br/>
<br/>

### Requisites

- [Node.js](https://nodejs.org/) - Node.js is an asynchronous, open source, event-driven JavaScript interpreter.

- [Nest](https://github.com/nestjs/nest) Framework TypeScript for APIs

- [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) Command Line configuration to AWS

- [VS Code](https://code.visualstudio.com/) - Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. It includes support for debugging, built-in Git control, syntax highlighting, smart code completion, snippets and code refactoring.

- [Love for Jesus and a servant heart](http://zionchurch.org.br/) - The most important thing is the desire to serve the kingdom using your talent and your time: "The greatest among you will be your servant." (Matthew 23:11)..

<br/>
<br/>

## Getting Started 🔥

<br/>

1- Install @puzzle-io/sdk using npm:

```sh
npm i @puzzle-io/sdk
```
npm package: @puzzle-js/client-lib
Description: Browser bindings of PuzzleJs
Latest version: 1.8.5

# puzzle-lib

Browser bindings of PuzzleJs

[![CircleCI](https://circleci.com/gh/puzzle-js/puzzle-lib/tree/master.svg?style=svg)](https://circleci.com/gh/puzzle-js/puzzle-lib/tree/master) 
[![npm](https://img.shields.io/npm/dt/@puzzle-js/client-lib.svg)](https://www.npmjs.com/package/@puzzle-js/client-lib) 
[![npm](https://img.shields.io/npm/v/@puzzle-js/client-lib.svg)](https://www.npmjs.com/package/@puzzle-js/client-lib) 
[![Known Vulnerabilities](https://snyk.io/test/github/puzzle-js/puzzle-lib/badge.svg)](https://snyk.io/test/github/puzzle-js/puzzle-lib)
[![codecov](https://codecov.io/gh/puzzle-js/puzzle-lib/branch/master/graph/badge.svg)](https://codecov.io/gh/puzzle-js/puzzle-lib)
npm package: @puzzle-js/sentry
Description: PuzzleJS Content Management System
Author: Mehmet Sefa Balik @mehmetsefabalik
Latest version: 0.4.1

## Configurations

### Gateway Configuration

#### Get Configurations of a Gateway

```
const gatewayName = 'customGatewayName';
socket.on(`configurations.gateway.${gatewayName}`, response => console.log('gateway configs: ', response.data));
socket.emit('configurations.gateway.get', {name: gatewayName});
```

#### Get Configurations of a Storefront

```
const storefrontName = 'customStorefrontName';
socket.on(`configurations.storefront.${storefrontName}`, response => console.log('storefront configs: ', response.data));
socket.emit('configurations.storefront.get', {name: storefrontName});
```