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

@flaredev.io/flare-edge

v1.2.2

Published

Package for deploying ServiceNow web applications to FlareEdge

Downloads

9

Readme

flaredev.io/flare-edge

flaredev.io/flare-edge allows you to deploy web applications to Flare Edge platform and serve them on your ServiceNow instance.

Installation

Install the package globally via npm:

npm install -g @flaredev.io/flare-edge

Configuration

You already should have a Flare Edge project in ServiceNow that displays configuration parameters for a container.

Download flare-edge.config.json file and place it to the root of your project.

Flare Edge configuraiton file has the following structure:

{
  "gateway": "xxx",
	"gatewayKey": "xxx",
	"apiKey": "xxx",
	"secretKey": "xxx",
	"domainSpace": "xxx",
	"containerName": "xxx",
	"base": "xxx",
	"folderPath": "./dist",
  }
  

The following paramenters you should recieve from the vendor:

  • gateway: Flare Gateway host name.
  • gatewayKey: Flare Gateway secret key.
  • apiKey: Your Flare Edge API key.
  • secretKey: Your Flare Edge secret key.

This parameter generated by ServiceNow:

  • container: Your Flare Edge container identifier.

Parameters for your local development environment:

  • folderPath: The path to your web application's build folder.
  • base: The base URL for your deployed application on Flare Edge. You need to specify this param in your bundler options to make sure all resources referenced properly.

IMPORTANT: You must build your project with the base path specified in config file - that is a unique secured container referenced to ServiceNow instance.

If you want to make a snapshot of the source code of your application while deploying to Flare Edge just add "servicenow" key to the config file:

{
	"servicenow": {
		"instance": "https://my-instance.service-now.com",
		"username": "foo",
		"password": "bar",
		"project_sys_id": "338024ce1bcfa510041ca9bd2a4bcba7"
	}
}

This will zip the source code and store it in ServiceNow on the corresponding Flare Edge record every time when you do a deployment.

Usage

To deploy your web application to Flare Edge:

  1. Buld the project with the corresponding output folder and the base path.
  2. Run the following command in your project's root folder:
flare-edge deploy

This command will read the flare-edge.config.json file, and deploy the contents of the specified buildFolderPath to the Flare Edge platform.

Support

If you encounter any issues or need help, please visit the official GitHub repository and open an issue or submit a pull request.

License

This project is licensed under the Apache-2.0 license. See the LICENSE file for more information.