open-index/open-npm huggingface dataset:
npm package: @smccarrick/sm-config
Description: Configuration for eslint, typescript and prettier for React
Author: Stephen Mccarrick
Latest version: 4.2.0

<h1 >Welcome to @smccarrick/sm-config 👋</h1>
<p>
  <a href="https://www.npmjs.com/package/@smccarrick/sm-config" target="_blank">
    <img alt="Version" src="https://img.shields.io/npm/v/@smccarrick/sm-config.svg">
  </a>
  <a href="#" target="_blank">
    <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
  </a>
</p>

> Configuration for eslint, typescript and prettier for react.

## Installation

```sh
npx install-peerdeps @smccarrick/sm-config -D
```

## Eslint

create an `.eslintrc.js` with the config below

```sh
module.exports = {
  extends: ["./node_modules/@smccarrick/sm-config/.eslintrc.js"],
  parserOptions: {
    tsconfigRootDir: __dirname,
    project: ["./tsconfig.json", "./tsconfig.eslint.json"],
  },
}
```

## tsconfig

create an `tsconfig.eslint.json` with the below config

```sh
{
  "extends": "@smccarrick/sm-config/tsconfig.json",
  "include": [".eslintrc.js"]
}
```

create an `tsconfig.json` to extend our config

```sh
{
  "extends": "@smccarrick/sm-config/tsconfig.json",
  "include": ["**/*"],
}
```

Prettier comes integrated with eslint so no need to extend this config unless you want to use prettier separately to format other files such as `.yml`, `markdown ect`.

## Author

👤 **Stephen Mccarrick <smccarrick2804@gmail.com>**

- Github: [@SMccarrick](https://github.com/SMccarrick)
- LinkedIn: [@stephen-mccarrick](https://linkedin.com/in/stephen-mccarrick)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/SMccarrick/sm-config/issues).

## Show your support

Give a ⭐️ if this project helped you!
npm package: @smcfizz/starfield.js
Description: Displays a simple starfield using the JavaScript Canvas API
Author: smcfizz
Latest version: 0.1.1

# starfield

A javascript animation of stars flying through space.

This animation is not my own creation. It is adapted from a [CodePen](https://codepen.io/bigsweater/pen/MyqZdQ) of a Vue component created by user [Vincent Maglione](https://codepen.io/bigsweater).
npm package: @smcloudstore/core
Description: Core library for SMCloudStore (internal)
Author: Alessandro Segala
Latest version: 0.2.0

# @smcloudstore/core

This package is an internal one used by [SMCloudStore](https://github.com/ItalyPaleAle/SMCloudStore). Most users will not need to use the `@smcloudstore/core` package directly.

SMCloudStore is a lightweight Node.js module that offers a simple API to interact with the object storage services of multiple cloud providers. Please refer to the main package [smcloudstore](https://github.com/ItalyPaleAle/SMCloudStore) to learn more and for documentation.
npm package: @smcloudstore/generic-s3
Description: Generic S3-compatible library for SMCloudStore
Author: Alessandro Segala
Latest version: 0.2.0

# @smcloudstore/generic-s3

This package is a provider for [SMCloudStore](https://github.com/ItalyPaleAle/SMCloudStore), for a generic S3-compatible provider, including AWS S3. SMCloudStore is a lightweight Node.js module that offers a simple API to interact with the object storage services of multiple cloud providers.

Please refer to the [main package](https://github.com/ItalyPaleAle/SMCloudStore) for the SMCloudStore documentation and instructions on how to use it.

## Provider-specific considerations

There are a few provider-specific considerations for the GenericS3 provider.

### Connection argument

When initializing the GenericS3 provider, the `connection` argument is an object with:

- `connection.endPoint`: string representing the endpoint of the server to connect to; for AWS S3, set this to `s3.amazonaws.com` and the library will pick the correct endpoint based on the `connection.region` argument (default: 'us-east-1')
- `connection.accessKey`: string containing the access key (the "public key")
- `connection.secretKey`: string containing the secret key
- `connection.useSSL` (optional): boolean that will force the connection using HTTPS if true (default: true)
- `connection.port` (optional): number representing the port to connect to; defaults to 443 if `useSSL` is true, 80 otherwise
- `connection.region` (optional): string containing the AWS region to use, useful for connecting to AWS S3

Example:

````js
// Require the package
const SMCloudStore = require('smcloudstore')

// Complete with the connection options for GenericS3
const connection = {
    endPoint: 'storage.cloudprovider.com',
    accessKey: 'PUBLIC_KEY_HERE',
    secretKey: 'SECRET_KEY_HERE',
}

// Return an instance of the GenericS3Provider class
const storage = SMCloudStore.create('generic-s3', connection)
````

### Using pre-signed URLs

In the method [`storage.presignedPutUrl(container, path, [options], [ttl])`](https://italypaleale.github.io/SMCloudStore/classes/generic_s3.generics3provider.html#presignedputurl), the Generic S3 provider ignores the `options` argument, which has no effect on the generated tokens.

### Accessing the Minio library

The Generic S3 provider is built on top of the [Minio JavaScript client](https://github.com/minio/minio-js), which is exposed by calling [`storage.client()`](https://italypaleale.github.io/SMCloudStore/classes/generic_s3.generics3provider.html#client).

You can use the object returned by this method to perform low-level operations using the Minio client.
npm package: @smcloudstore/minio
Description: Minio library for SMCloudStore
Author: Alessandro Segala
Latest version: 0.2.0

# @smcloudstore/minio

This package is a provider for [SMCloudStore](https://github.com/ItalyPaleAle/SMCloudStore), for Minio. SMCloudStore is a lightweight Node.js module that offers a simple API to interact with the object storage services of multiple cloud providers.

Please refer to the [main package](https://github.com/ItalyPaleAle/SMCloudStore) for the SMCloudStore documentation and instructions on how to use it.

## Provider-specific considerations

There are a few provider-specific considerations for the Minio provider.

### Connection argument

When initializing the Minio provider, the `connection` argument is an object with:

- `connection.endPoint`: string representing the endpoint of the server to connect to, which is the URL of the Minio server
- `connection.accessKey`: string containing the access key (the "public key")
- `connection.secretKey`: string containing the secret key
- `connection.useSSL` (optional): boolean that will force the connection using HTTPS if true (default: true)
- `connection.port` (optional): number representing the port to connect to; defaults to 443 if `useSSL` is true, 80 otherwise

Example:

````js
// Require the package
const SMCloudStore = require('smcloudstore')

// Complete with the connection options for Minio
const connection = {
    endPoint: 'localhost',
    port: 9000,
    useSSL: false,
    accessKey: 'PUBLIC_KEY_HERE',
    secretKey: 'SECRET_KEY_HERE',
}

// Return an instance of the MinioProvider class
const storage = SMCloudStore.create('minio', connection)
````

### Using pre-signed URLs

In the method [`storage.presignedPutUrl(container, path, [options], [ttl])`](https://italypaleale.github.io/SMCloudStore/classes/minio.minioprovider.html#presignedputurl), the Minio provider ignores the `options` argument, which has no effect on the generated tokens.

### Accessing the Minio library

The Minio provider is built on top of the [Minio JavaScript client](https://github.com/minio/minio-js), which is exposed by calling [`storage.client()`](https://italypaleale.github.io/SMCloudStore/classes/minio.minioprovider.html#client).

You can use the object returned by this method to perform low-level operations using the Minio client.
npm package: @smcphub/client
Description: MCP Client of smcphub.com
Author: SMCPHUB
Latest version: 0.0.22

# Welcome to @smcphub/client 👋
![Version](https://img.shields.io/badge/version-0.0.1-blue.svg?cacheSeconds=2592000)
[![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](https://www.smcphub.com/docs)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#)

> MCP Client of smcphub.com

SMCP Client is a simple and easy-to-use client for smcphub.com. It provides a simple API to interact with all the MCP Servers hosted in the smcphub.com.

SMCP hub is a platform that allows you to find the MCP servers which users published, or also publish your MCP Servers and get them listed and hosted on the website.

### 🏠 [Homepage](https://smcphub.com)

## Install

```sh
npm i @smcphub/client
```
OR

```sh
yarn add @smcphub/client
```

## Usage

```js
// import the SDK
import SmcphubClient from '@smcphub/client';

// Instantiate the client
const smcphubClient = new SmcphubClient({
    api_key: 'your-api-key'
});

// Connect the MCP Server
smcphubClient
.connect()
.then(tools => {
    console.log(tools);
})
.catch(err => {
  console.error(err);
});
    
// Call the tool
smcphubClient
.callTool('get_weather', {'city': '杭州'})
.then(content => {
    console.log(content);
})
.catch(err => {
  console.error(err);
});
```

## Author

👤 **SMCPHUB**
npm package: @smcphub/local-dev
Description: A MCP Server for local development assistant by SMCPHUB
Author: SMCPHUB
Latest version: 0.0.27

# Welcome to @smcphub/local-dev 👋
![Version](https://img.shields.io/badge/version-0.0.1-blue.svg?cacheSeconds=2592000)
[![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](https://www.smcphub.com/docs)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](#)

> A MCP Server by SMCPHUB

local-dev is a local development assistant for NodeJS projects by SMCPhub.

SMCP hub is a platform that allows you to find the MCP servers which users published, or also publish your MCP Servers and get them listed and hosted on the website.

Then you can use the official MCP Client to connect to the MCP Servers you want, or use the official MCP Server to any clients that support MCP like Cursor, and maintain them in one place.

Here is the link to create a [API Key](https://www.smcphub.com/user/api-keys).

Here is the [documents](https://www.smcphub.com/docs).

### 🏠 [Homepage](https://smcphub.com)

## Install

```sh
npm i @smcphub/local-dev
```
OR

```sh
yarn add @smcphub/local-dev
```

## Usage

Use official MCP Client to connect to the MCP Server.

```js

// import the SDK
import SmcphubClient from '@smcphub/client';

// Instantiate the client
const smcphubClient = new SmcphubClient({
    api_key: 'your-api-key'
});

// Connect the MCP Server
smcphubClient
.connect()
.then(tools => {
    console.log(tools);
})
.catch(err => {
  console.error(err);
});
    
// Call the tool
smcphubClient
.callTool('change_directory', {'directory': '/var/www/html'})
.then(content => {
    console.log(content);
})
.catch(err => {
  console.error(err);
});
```

## Tools

- `get_current_directory`: Get current directory.
- `change_directory`: Change the current directory of the working.
- `git_push`: Push changes to remote repository.
- `build_project`: Build the project in current directory, default command is "npm run build".
- `run_command`: Run any one specific command.

## Resouces

- `status://current_directory`: get current directory, this is useful when you are working on multiple projects. You will easy to know which project you are working on.
- `project://get_scripts`: get all the scripts defined for the project in current directory. so we can run any script defined in the project.

## Resource Templates

- `project://{name}/package_list`: get the list of package in the specificed project in currect directory, will change to the directory with same name passed and try again to get the package list.

## Author

👤 [**SMCPHUB**](https://smcphub.com)