Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
kindle-periodical
Advanced tools
#kindle-periodical create a periodical format .mobi file
kindlegen must be installed and set as PATH variable or the path to the directory in options.
origin/master
npm install kindle-periodical
kindle-periodical -f nameOfBook /path/to/.json
<<<<<<< HEAD
will reate a compiled
folder with the generated book
======= var periodical = require('kindle-periodical'); periodical.options({ // All of these are optional kindlegenPath: '/path/to/KindleGen', // Path to the directory KindleGen is in, not the executable itself tempDir: '/path/to/temp/directory' // if you want the temp files written somewhere else. Make sure this dir is empty, all files are removed. });
var bookData = {
"title" : '<ebook-title>',
"creator" : '<creator>',
"publisher" : '<publisher>',
"subject" : '<subject>',
"description" : '<description>',
"date" : date // (optional) Javascript date object. If unset, will be new Date()
origin/master
var periodical = require('kindle-periodical');
var bookData = {
"title" : 'ebook-title',
"creator" : 'creator',
"publisher" : 'publisher',
"subject" : 'subject',
"description" : 'description',
"sections" : [{
"title" : 'title-of-section',
"articles" : [{
"title" : '<title-of-article>',
"author" : '<author-of-article>',
"content" : '<content-of-article>' // HTML between the body tags
origin/master }] }] };
periodical.create(bookData, {
target : '.' // path must exist and be writable
})
FAQs
create a periodical .mobi, with kindlegen
The npm package kindle-periodical receives a total of 4 weekly downloads. As such, kindle-periodical popularity was classified as not popular.
We found that kindle-periodical 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.