paperbanana-dev
v0.1.0
Published
Paper Banana metadata and integration helper package for Paper Banana academic drawing workflows for https://paperbanana.dev.
Maintainers
Readme
paperbanana-dev
paperbanana-dev is a lightweight Node.js metadata and integration helper package for paperbanana.dev.
The package gives automation scripts, content tooling, and future SDK code a stable package name for Paper Banana. It exposes the canonical website URL, documentation URL, source repository, local repository path, MDX content path, and Next.js app path used by the project.
Website focus
Paper Banana focuses on AI academic drawing, research visuals, and paper-ready diagram generation workflows. This package does not try to wrap a private production API yet; it publishes a clear, installable metadata layer that can later grow into a fuller SDK or workflow client.
Installation
npm install paperbanana-devQuick start
const { getSiteInfo, metadata } = require('paperbanana-dev');
console.log(metadata.homepage);
console.log(getSiteInfo());Metadata API
Use the package when a script needs to know where the site lives, where content is stored, or which repository backs the package.
const site = getSiteInfo();
console.log(site.name);
console.log(site.homepage);
console.log(site.contentPath);
console.log(site.appPath);Returned metadata includes:
- Site name: Paper Banana
- Homepage: https://paperbanana.dev
- Documentation: https://paperbanana.dev/docs
- Package name: paperbanana-dev
- Source repository: https://github.com/youram470-art/paperbanana-dev-npm
- Local repository: /Users/mac/Documents/code/paperbanana
- Content path: content
- Next.js app path: src/app
Common use cases
- keep Paper Banana URLs and repository paths consistent in automation.
- attach academic-visual metadata to generated MDX content.
- serve as the first installable package for future drawing workflow helpers.
- Share a stable public package page that points back to https://paperbanana.dev.
Automation example
This package is useful in release scripts, SEO tooling, blog generators, indexing jobs, and content maintenance utilities. A script can import the package, derive the content directory, and consistently point generated output back to the public website.
Links
- Website: https://paperbanana.dev
- Documentation: https://paperbanana.dev/docs
- Source: https://github.com/youram470-art/paperbanana-dev-npm
- Issues: https://github.com/youram470-art/paperbanana-dev-npm/issues
License
MIT
