Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

insertmode/userscript-header-from-package.json

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

userscript-header-from-package.json

Installation

npm install -g userscript-header-from-package.json

Usage

Given a package.json file with this contents

{
  "name": "userscript-header-from-package.json",
  "version": "0.0.1",
  "license": "ISC",
  "description": "generate a userscript header from data found in package.json",
  "userscript": {
    "include": "http://*.lagomorph.*/*",
    "namespace": "http://www.lagomorph.de/"
  }
}

running userscript-header-from-package-json will produce the following output on stdout

// ==UserScript==
// @name        userscript-header-from-package.json
// @namespace   http://www.lagomorph.de/
// @description generate a userscript header from data found in package.json
// @license     ISC
// @include     http://*.lagomorph.*/*
// @version     0.0.1
// ==/UserScript==

About

generate a userscript header from data found in package.json

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.