
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
github.com/opd-ai/bookie
Bookie is a powerful Go library for converting markdown documents into professionally formatted PDF books with support for chapters, table of contents, and rich formatting. It's designed to help authors and technical writers create publication-ready documents from markdown content.
Chapter Organization
Rich Content Support
Professional PDF Output
Advanced Formatting
go get github.com/opd-ai/bookie
Requires Go 1.21.3 or later.
package main
import "github.com/opd-ai/bookie"
func main() {
// Create a new book compiler
compiler := bookie.NewBookCompiler(
"path/to/markdown/files", // Root directory containing chapters
"output.pdf", // Output PDF path
)
// Compile the book
if err := compiler.Compile(); err != nil {
log.Fatal(err)
}
}
Organize your markdown files in episode-based chapters:
root/
├── Episode01/
│ ├── content.md
│ └── images/
├── Episode02/
│ ├── intro.md
│ └── details.md
└── Episode03/
└── final.md
Configure the book compiler with these options:
compiler.SetPageNumbers(true) // Enable/disable page numbers
compiler.SetToCTitle("Table of Contents") // Custom ToC title
// Font settings are configurable
compiler.SetChapterFont("Arial")
compiler.SetTextFont("Times")
git checkout -b feature/amazing-feature
)go test ./...
)git commit -m 'Add amazing feature'
)git push origin feature/amazing-feature
)Run the test suite:
go test -v ./...
Ensure all tests pass before submitting pull requests.
This project is licensed under the MIT License - see the LICENSE
file for details.
Built with these excellent libraries:
For detailed API documentation, visit the Go package documentation.
For more examples and detailed usage, see the Wiki.
If you find this project useful, consider supporting the developer:
Monero Address: 43H3Uqnc9rfEsJjUXZYmam45MbtWmREFSANAWY5hijY4aht8cqYaT2BCNhfBhua5XwNdx9Tb6BEdt4tjUHJDwNW5H7mTiwe
Bitcoin Address: bc1qew5kx0srtp8c4hlpw8ax0gllhnpsnp9ylthpas
FAQs
Unknown package
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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.