New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

gas-console

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gas-console

console object for GoogleAppsScript porting from Node.js v0.10.26.

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

gas-console

console library for Google Apps Script porting from Node.js v0.10.26.

In google apps script, this provides console.log() or other methods. And you can see output on the web.

Usage

Using GAS Library

  • Import GAS library 'console' into your gas project.

    project key : MYBwh3izlQThbSz1-36mOjVJodnbMh4p7 project name : console

  • Open this URL in other browser window.

    project url : https://script.google.com/macros/s/AKfycbzZaq3NPqMHYBno7ByxV-bpTbDt6EZ4M_5-kjYXXeQ9HI-k_w8/exec

  • Code and run to output to console.

    or sample project is here.

  • Using this, google login required.

  • Where's my data?

    This library uses cache services only your account context. Anyone else can see your data.

Build your own library.

This project using Code.gs.

  • Go to gas-console project directory.

  • type npm install

  • type ./build -o out.js

  • More info, see code.gs

Using fputs on Node.js

about fputs, see 'About Methods'.

  • type npm install gas-console

  • code require('gas-console');

then, added fputs method into object console.

About Methods

fputs

Only one method added to original is:

console.fputs(str)

This method put string to stdout without '\n' at line end.

Other methods

See original documentation here.

Keywords

gas

FAQs

Package last updated on 18 Mar 2014

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