Socket
Socket
Sign inDemoInstall

briskly-json

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

briskly-json

briskly.json parser


Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

briskly-json

Find and parse briskly.json in Briskly projects

NPM version Travis build status

Installation

npm install briskly-json --save

Usage

{
	"main": "path/to/index.html",
	"port": 80, // Web server port number
	"host": "localhost", // Web server hostname
	"routes": {
		"/example": { // route path
			"method": "GET", // request method
			"handler": "routes/example.js" // route handler function
		},
		...
	},
	"components": {
		"br-header": { // Name of web component
			"template": "components/header/template.html", // Location of view template markup
			"viewModel": "components/header/model.js" // Location of view model constructor
		},
		...
	}
}
// TypeScript
import BrisklyJson = require('briskly-json');


var config = BrisklyJson.json;
// Returns briskly.json contents as a JavaScript object

var jsonPath = BrisklyJson.path;
// Returns the expected path of briskly.json

License

MIT

Keywords

FAQs

Package last updated on 21 Nov 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc