Socket
Book a DemoInstallSign in
Socket

@skeet-framework/spreadsheet-utils

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@skeet-framework/spreadsheet-utils

Skeet Framework Plugin - Spreadsheet Utils

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
2
Maintainers
3
Weekly downloads
 
Created
Source
Skeet Framework Logo

Follow @ELSOUL_LABO2

Skeet Spreadsheet Utils

This plugin is a collection of utilities for Spreadsheet. Especially works with Skeet Framework.

Installation

npm install @skeet-framework/spreadsheet-utils

with Skeet Framework

skeet yarn add -p @skeet-framework/spreadsheet-utils

Usage

The function assumes that the 'GOOGLE_APPLICATION_CREDENTIALS' environment variable is set with the path to the Google service account credentials JSON file. It returns the data from the spreadsheet.

import { addDataToSheet } from '@skeet-framework/spreadsheet-utils'

const spreadsheetId = 'spreadsheetId'
const sheetTitle = 'sheetTitle'
const run = async () => {
  const value = [
    ['Date', 'Name', 'Address', 'Amount(SOL)', 'Epoch', 'PostBalance(SOL)'],
    [1, 2, 3, 4, 5, 6],
  ]
  const data = await addDataToSheet(spreadsheetId, sheetTitle, value)
  console.log(data)
}

run()

more functions can be found in the

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/elsoul/skeet-spreadsheet-utils This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The package is available as open source under the terms of the Apache-2.0 License.

Code of Conduct

Everyone interacting in the SKEET project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Keywords

TypeScript

FAQs

Package last updated on 04 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts