
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.
Nanoc content source from git repository. A way to have your writing in public and open for editing while not being distracted by static site generator trivia this content is usually mixed with.
Add to Gemfile
in your nanoc project:
gem "nanoc-github"
Then tell nanoc to load it in lib/default.rb
:
require "nanoc/github"
At last, enable github data source in nanoc.yaml
:
data_sources:
- type: github
items_root: /posts # the root where items should be mounted
repository: arkency/posts # organization/repository on github to use as a source of content
encoding: utf-8 # how to decode content (default: utf-8)
access_token: secret123 # github access token, not required for public repositories (default: nil)
path: posts/ # subdirectory of the content in given repository (default: nil)
concurrency: 10 # how many threads to spawn to fetch data (default: 5)
verbose: true # show HTTP cache hit/miss on STDOUT (default: false)
max_age: 600 # override time in which cached content is considered to be fresh (default: 60)
FAQs
Unknown package
We found that nanoc-github 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.