
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
gh-pages-bootstrap
Advanced tools
Your website is currently hosted on GitHub Pages, but you're moving away. Maybe you want to deploy TLS (good on you!), or maybe GitHub's URL construction is too inflexible for you.
However, when you move your site to a different server, suddenly all your links break. You find yourself manually git clone
ing all of your repositories just to get a usable website!
gh-pages-bootstrap
is a small utility to automate this for you. It queries the GitHub API and then reconstructs exactly what you'd see on GitHub Pages on your local disk. Presto!
npm install gh-pages-bootstrap
Or as a CLI tool:
npm install -g gh-pages-bootstrap
As a module:
```js
var bootstrap = require('gh-pages-bootstrap');
var user = 'someone'; // GitHub user
var token = 'a1b2c3d4e5f6g7h8i9j0'; // GitHub OAuth2 token
ghpages(user, token, function(err) {
throw err;
});
```
On the commandline:
$ gh-pages-bootstrap
This will prompt you for your GitHub username and password. If you run it a second time, it will use the cached OAuth2 token.
Alex Jordan (@strugee on GitHub)
LGPL3+
1.1.0 "My Hobby: Refactoring"
gh-search-branch
FAQs
Locally recreate the URL scheme you'd get on GitHub Pages
The npm package gh-pages-bootstrap receives a total of 2 weekly downloads. As such, gh-pages-bootstrap popularity was classified as not popular.
We found that gh-pages-bootstrap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.