open-index/open-npm huggingface dataset:
npm package: @fs-fns/reverse-geocode
Description: Async reverse-geocode function
Author: Flavio Santos
Latest version: 0.2.0

# @fs-fns/reverse-geocode

Async reverse-geocode function

- getAddressByLocation `(lat: number, lon: number) => Record<string, any>`

## Install

```sh
yarn add @fs-fns/reverse-geocode
```

## Usage

```js
import { getAddressByLocation } from "@fs-fns/reverse-geocode";

// new york location
getAddressByLocation(40.7148652, -74.1014854).then(console.log);
```
npm package: @fs/gatsby-plugin-drive
Description: Downloads and caches a Google Drive folder that you can then query with gatsby-source-filesystem.
Author: Fabian Schultz
Latest version: 0.2.3

# gatsby-plugin-drive

Downloads and caches a Google Drive folder that you can then query with `gatsby-source-filesystem`.
Optionally exports Google Docs to a usable format.

## Installation

```bash
yarn add @fs/gatsby-plugin-drive
```

## Usage

In order to use this plugin, you'll need to generate a Google Service Account and share your drive folder with its email. [Here's a guide](https://www.twilio.com/blog/2017/03/google-spreadsheets-and-javascriptnode-js.html).

```js
// In your gatsby-config.js

plugins: [
  {
    resolve: '@fs/gatsby-plugin-drive',
    options: {
      folderId: 'GOOGLE_DRIVE_FOLDER_ID',
      keyFile: path.resolve(__dirname, 'YOUR_SERVICE_ACCOUNT_KEYFILE.json'),
      destination: path.join(__dirname, 'src/content'),
      pageSize: 100,
      exportGDocs: true,
      exportMimeType: 'text/html',
      exportMiddleware: someFunction
    }
  }
]

// Or using environment variables

plugins: [
  {
    resolve: '@fs/gatsby-plugin-drive',
    options: {
      folderId: process.env.GOOGLE_DRIVE_FOLDER_ID,
      key: {
        private_key: process.env.GOOGLE_PRIVATE_KEY,
        client_email: process.env.GOOGLE_CLIENT_EMAIL,
      },
      destination: path.join(__dirname, 'src/content'),
      pageSize: 100,
      exportGDocs: true,
      exportMimeType: 'text/html',
      exportMiddleware: someFunction
    }
  }
]
```
If the `exportGDocs` option is enabled, all Google Docs in the folder will be exported with the MIME type set in the `exportMimeType` option. You can see a list of available Google Docs export MIME types [here](https://developers.google.com/drive/api/v3/manage-downloads).
If the `exportGDocs` option is disabled, all Google Docs in the folder will be ignored.

The `exportMiddleware` option is optional. If set, the plugin will run each Google Doc through the function, before it writes it to disk.
A usecase for this, could be cleaning up, or manipulating, the HTML that the Google Drive API returns.
The expected function signature is `Buffer -> Buffer`.

Your drive folder will download all files everytime it builds, except when a file already exists or is cached. To download all files again, set up an npm clean script like:

```json
"clean": "rimraf src/content",
```

## Rate Limiting

The default amount of allowed requests per user per 100 seconds is `1,000`. If you're planning to download a large folder with this plugin, you might have to increase this limit. To do that, open the "Services" tab in the Google Cloud Console, select "Google Drive API" and change the limit under ["Quotas"](https://console.developers.google.com/apis/api/drive.googleapis.com/quotas).

By default, this plugin downloads 100 files per folder at most. If you require a larger limit, pass in a higher value to the `pageSize` option.

## Author

* Fabian Schultz ([@fschultz\_](https://twitter.com/fschultz_)) - [Stink Studios](https://stinkstudios.com)
* Elias Jørgensen ([@\_eliasjorgensen](https://twitter.com/_eliasjorgensen))
npm package: @fsavio/docs-br
Description: Biblioteca de validação e extração de informação de documentos oficiais brasileiros.
Author: Fernando Sávio
Latest version: 0.0.2

# docs-br-js
Biblioteca de validação e extração de informação de documentos oficiais brasileiros.

Documentos suportados:

- [x] CNPJ - validação com caracteres alfanuméricos (2026)
- [x] CPF
- [ ] Inscrição estadual
- [ ] CNH
- [ ] PIS/PASEP
- [ ] RG
- [ ] RENAVAM
- [ ] Título de eleitor
- [ ] Certidões

## Instalação

```sh
$ npm install @fsavio/docs-br
```

## Como usar

### CNPJ

#### Validação

```ts
import { cnpj } from '@fsavio/docs-br'

// CNPJ válido
const valid = cnpj.validate('48217216000130');
console.log(valid); // { sucesso: true, dados: "48217216000130" }

// CNPJ válido com caracteres alfanuméricos
const alfanumValid = cnpj.validate('UU97L8QM000130');
console.log(alfanumValid); // { sucesso: true, erro: "UU97L8QM000130" }

// CNPJ com tamanho diferentes de 14
const invalidLength = cnpj.validate('123');
console.log(invalidLength); // { sucesso: false, erro: "invalid-length" }

// CNPJ com caracteres inválidos
const invalidChars = cnpj.validate('??????????????');
console.log(invalidChars); // { sucesso: false, erro: "invalid-chars" }

// CNPJ com dígitos verificadores inválidos
const invalidCheckDigits = cnpj.validate('48217216000199');
console.log(invalidCheckDigits); // { sucesso: false, erro: "invalid-check-digits" }

// CNPJ alfanumérico com dígitos verificadores inválidos
const invalidCheckDigitsAlfanum = cnpj.validate('UU97L8QM000199');
console.log(invalidCheckDigitsAlfanum); // { sucesso: false, erro: "invalid-check-digits" }
```
npm package: @fsco/kickstart
Description: FSCO API kickstart CLI Tool
Author: FSCO
Latest version: 0.2.14

<div align="center">
<br>
<picture>
  <source srcset="https://dev.fsco.io/assets/logo-documentation-gray.svg" media="(prefers-color-scheme: dark)" alt="Logo" width="150">
  <img src="https://dev.fsco.io/assets/logo-documentation.svg" alt="Logo" width="150">
</picture>
<br><br>

# @fsco/kickstart

**A powerful, developer-friendly CLI tool** that helps you spin up a full-stack project integrated with **FSCO APIs**.

![npm](https://img.shields.io/npm/v/@fsco/kickstart)
![License](https://img.shields.io/npm/l/@fsco/kickstart)
![TypeScript](https://img.shields.io/badge/TypeScript-✔️-blue)

</div>
<br>

## 🚀 Installation


| Method     | Command                                                      |
|------------|--------------------------------------------------------------|
| **bunx**    | `bunx @fsco/kickstart create <generator-name>`               |
| **bun**    | `bun add -g @fsco/kickstart`<br>`fsco-kickstart create <generator-name>` |
| **npm**    | `npm add -g @fsco/kickstart`<br>`fsco-kickstart create <generator-name>` |
| **npx**    | `npx @fsco/kickstart create <generator-name>` |
| **yarn**   | `yarn global add @fsco/kickstart`<br>`fsco-kickstart create <generator-name>` |

🔔 **Note**: Follow the instructions given by the CLI.

<br>

## 📋 Usage

Create a new project using one of the available templates:

```bash
fsco-kickstart create hiiro
```

Follow the interactive prompts to configure your project.
<br><br>

## 📦 Available Generators

| Generator Name | Description |
|--------------|-------------|
| `hiiro` | Full document flow with templates, prompts, and collections |
<br>

## 📚 Documentation

For more detailed documentation, visit our [documentation site](https://docs.fsco.io).
<br>

## 🎥 Video Tutorial

You can find a video tutorial on how to use the CLI [here](https://www.youtube.com/watch?v=CQC5AZMVp5Y).


[![Watch the video](https://img.youtube.com/vi/CQC5AZMVp5Y/0.jpg)](https://www.youtube.com/watch?v=CQC5AZMVp5Y)