{"id":14989129,"url":"https://github.com/tomoneill/gulp-monkeyscript","last_synced_at":"2025-04-14T21:14:00.439Z","repository":{"id":57258304,"uuid":"83887711","full_name":"TomONeill/gulp-monkeyscript","owner":"TomONeill","description":"Prepend your userscripts with the power of JSON","archived":false,"fork":false,"pushed_at":"2017-03-04T12:28:43.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T21:13:54.581Z","etag":null,"topics":["greasemonkey","gulp-plugin","monkeyscript","tampermonkey","userscript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TomONeill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-04T11:11:46.000Z","updated_at":"2022-11-02T00:09:26.000Z","dependencies_parsed_at":"2022-08-25T21:23:45.757Z","dependency_job_id":null,"html_url":"https://github.com/TomONeill/gulp-monkeyscript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomONeill%2Fgulp-monkeyscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomONeill%2Fgulp-monkeyscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomONeill%2Fgulp-monkeyscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TomONeill%2Fgulp-monkeyscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TomONeill","download_url":"https://codeload.github.com/TomONeill/gulp-monkeyscript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248961237,"owners_count":21189993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["greasemonkey","gulp-plugin","monkeyscript","tampermonkey","userscript"],"created_at":"2024-09-24T14:17:44.433Z","updated_at":"2025-04-14T21:14:00.414Z","avatar_url":"https://github.com/TomONeill.png","language":"JavaScript","readme":"## Install\n\n```\n$ npm install gulp-monkeyscript --save-dev\n```\n\n\n## Usage\n\nAdd `monkeyscript.json` to the root of your project and add the following line to get Intellisense working:\n```\n\"$schema\": \"./node_modules/gulp-monkeyscript/schema.json\",\n```\nAdd the key-value pairs to your needs. See \u003ca href=\"#showcase\"\u003eShowcase\u003c/a\u003e for an example.\n\n`gulpfile.js`:\n\n```js\nvar ms = require('gulp-monkeyscript');\nvar msProject = ms.createProject(\"monkeyscript.json\");\n\ngulp.src(\"src/**/*.js\")\n\t.pipe(concat(\"script.user.js\"))\n    .pipe(msProject())\n\t.pipe(gulp.dest(\"dist/\"));\n\n```\n\n## Showcase\n```json\n{\n    \"$schema\": \"./node_modules/gulp-monkeyscript/schema.json\",\n    \"name\": \"My Awesome Userscript!\",\n    \"version\": \"1.0.0\",\n    \"author\": \"Tom\",\n    \"description\": \"This userscript adds new functionality!\",\n    \"match\": [\n        \"http://www.website.com/page1/\",\n        \"http://www.website-alter.com/*\"\n    ],\n    \"runAt\": \"document-start\",\n    \"useStrict\": true\n}\n```\n\nBecomes:\n\n```js\n// ==UserScript==\n// @name\t\tMy Awesome Userscript!\n// @version\t\t1.0.0\n// @author\t\tTom\n// @description\t\tThis userscript adds new functionality!\n// @match\t\thttp://www.website.com/page1/\n// @match\t\thttp://www.website-alter.com/*\n// @run-at\t\tdocument-start\n// ==/UserScript==\n'use strict';\n\n\u003cother source\u003e\n```\n\n## Dependencies\n- \u003ca href=\"https://www.npmjs.com/package/readable-stream\"\u003ereadable-stream\u003c/a\u003e\n- \u003ca href=\"https://www.npmjs.com/package/streamqueue\"\u003estreamqueue\u003c/a\u003e\n\n\n## License\n\nMIT © 2017 Tom O'Neill\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomoneill%2Fgulp-monkeyscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomoneill%2Fgulp-monkeyscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomoneill%2Fgulp-monkeyscript/lists"}