npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@torpadev/orpa-node-msexcel

v0.2.4

Published

MS Excel Read/Write nodes for OPAL

Downloads

60

Readme

orpa-node-msexcel orpa-node-msexcel build status

This module is part of the OPAL framework

Nodes:

  • read excel
  • write excel

Read Excel

Opens an xlsx or xls file spreasheet from a specified location and reads the contents. The contents can then be passed to downstream node or saved to a store variable

Inputs:

  • Name: A Name for this read-excel instance
  • File Path: choose the location from where the spreadsheet can be read
  • Sheet: specify the name of the sheet to be read (E.g. Sheet 1)
  • Read Mode: specify the mode used for reading. This can be Full Content,Rows,Colummns,Region
    • Full Contents - Fetches the entirer contents of the specified sheet
    • Rows - A comma separated list of Numbers of the Rows that are to be fetched.
    • Columns - A comma separated list of Names(e.g. A, B, AA etc) of the columns that are to be fetched
    • Region - A region notation as deinfed by this MSDN article (Range Notation). Only a single range expression is supported.

Output Formats:

The output of the read operation can be a Simple JSON (Array of Arrays or Colmn Header indexed objects) with only the data or a more descriptive format. Details can be found from the xlsx project

  • As Json - Uses the simple JSON format
  • Use Column Labels - Use column headers such A,B etc to index the data rather using Array of Array. Only for JSON mode
  • Remove Empty Rows - Removes Empty Rows fromm a JSON output. Only for JSON mode
  • Timeout: specify the timeout during lookup for the title operation.

Outputs:

msg.error When an error happens contains the error message from the read operation msg.payload contains the data read from spreadsheet

Write Excel

Creates or Opens an xlsx/xls file spreasheet from the specified location and write the contents that are provided. The contents can be from upstream actions, variables (flow/global) or provided as literal text

Inputs:

  • Name: A Name for this read-excel instance
  • File Path: choose the location where the spreadsheet is to be written
  • Sheet: specify the name of the sheet to be updated (E.g. Sheet 1)
  • Write Mode: specify the mode used for writing. This can be Full Content,Rows,Colummns,Region
    • Full Contents - Updates the entire contents of the specified sheet - TBD
    • Rows - A comma separated list of Numbers of the Rows that are to be updated.
    • Columns -A comma separated list of Names(e.g. A, B, AA etc) of the columns that are to be updated
    • Region - A region notation as deinfed by this MSDN article (Range Notation). Only a single range expression is supported.
  • Timeout: specify the timeout during lookup for the title operation.

Input Formats:

The input data to be written to the spreradsheet is always provided as an array of arrays. This is expected to be a valid json. Use the below guidelines. A JSON formatter will be available in a later release.

  • Number - Uses the simple JSON format
  • String - Use column headers such A,B etc to index the data rather using Array of Array. Only for JSON mode
  • Boolean - Removes Empty Rows fromm a JSON output. Only for JSON mode
  • Date - Specified like a string with surrounding quotes. The list of date formats shown below are support and will be automatically parsed. Others maybe set as text. The list of supported formats will be configurable in a later release

Outputs:

msg.error When an error happens contains the error message from update operation