JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 21
  • Score
    100M100P100Q40100F
  • License MIT

GASsma is Google Apps Script(GAS) of SpreadSheet library that can be used like prisma.

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gassma) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    GASsma

    GASsma is Google Apps Script(GAS) of SpreadSheet library that can be used like prisma.

    Installation

    npm i gassma

    Gassma Script ID

    1ZVuWMUYs4hVKDCcP3nVw74AY48VqLm50wRceKIQLFKL0wf4Hyou-FIBH

    Getting Started

    When using Clasp...

    import { Gassma } from "gassma";
    
    const gassma = new Gassma.GassmaClient();
    
    // Getting data from the SpreadSheet
    function myFunction(){
        const result = gassma.sheets.YOUR_SHEET_NAME.findMany({
            where: {
                city: "Tokyo",
                age: 22
            }
        });
    
        console.log(result);
    }

    When using script editor in GAS...

    const gassma = new Gassma.GassmaClient();
    
    // Getting data from the SpreadSheet
    function myFunction(){
        const result = gassma.sheets.YOUR_SHEET_NAME.findMany({
            where: {
                city: "Tokyo",
                age: 22
            }
        });
    
        console.log(result);
    }

    version

    0.7.0