{"id":15567348,"url":"https://github.com/damsleth/k","last_synced_at":"2026-04-18T07:36:30.101Z","repository":{"id":71415109,"uuid":"153757136","full_name":"damsleth/k","owner":"damsleth","description":"SharePoint helper functions for doing common admin tasks from the console","archived":false,"fork":false,"pushed_at":"2022-05-04T11:00:11.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-22T03:55:38.872Z","etag":null,"topics":["sharepoint","userscript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/damsleth.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-19T09:14:37.000Z","updated_at":"2022-05-04T10:55:40.000Z","dependencies_parsed_at":"2023-04-22T06:32:29.241Z","dependency_job_id":null,"html_url":"https://github.com/damsleth/k","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":0.09999999999999998,"last_synced_commit":"c6ea8247534874c78089dbac36dd036290b4f585"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/damsleth/k","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damsleth%2Fk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damsleth%2Fk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damsleth%2Fk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damsleth%2Fk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/damsleth","download_url":"https://codeload.github.com/damsleth/k/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/damsleth%2Fk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31961347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["sharepoint","userscript"],"created_at":"2024-10-02T17:10:46.419Z","updated_at":"2026-04-18T07:36:30.075Z","avatar_url":"https://github.com/damsleth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# k\nSharePoint helper functions for doing common admin tasks from the console.  \n`k.js` is meant for on premises (i.e. SharePoint 2013, 2016 and 2019)  \n`k365.js` is for SharePoint Online (i.e. Microsoft 365, *yourtenant*.sharepoint.com )\n\n\n### Usage\n\nk.js is written as a userscript, so you can include it as a file for autoloading in Tampermonkey or Greasemonkey.  \nk.js logs a \"k\" to the console to indicate it's been loaded.  \nAll commands are in the k namespace, e.g. \n\n```\nawait k.fetch(\"/web/allproperties\")\n```\nlists out all the web properties.\n```\nawait k.getToken()\n```\nfetches a bearer token from `/_api/contextinfo` you can use for whatever\n```\nawait k.ChangeWebProp(\"Title\",\"My new site title\")\n```\nChanges the title of the site you're on\n\n### Requirements\nChromium or Firefox browser  \nTampermonkey or Greasemonkey  \nA SharePoint Site  \n\n\u003ca href=\"http://www.wtfpl.net/\"\u003e\u003cimg\n       src=\"http://www.wtfpl.net/wp-content/uploads/2012/12/wtfpl-badge-4.png\"\n       width=\"80\" height=\"15\" alt=\"WTFPL\" /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamsleth%2Fk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdamsleth%2Fk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdamsleth%2Fk/lists"}