Skip to content

s-complex/noutious

Repository files navigation

Noutious

A simple file-based content manage system driven by Node.js, inspired by Hexo and its core Warehouse.

Note: This project is still under development. DO NOT USE THIS PROJECT IN PRODUCTION.

Quick Start

// npm
$ npm install noutious
// yarn
$ yarn add noutious
// pnpm
$ pnpm add noutious

Then import it and initialize an instance.

import { createNoutious } from 'noutious';

const noutious = await createNoutious({
	draft: false, // set to `true` to scan draft posts.
	excerptMark: ''
})

API

queryBlogPosts()

// Get all posts data
const posts = await noutious.queryBlogPosts();

queryBlogCategories()

// Get all categories
const posts = await noutious.queryBlogCategories();

queryBlogTags()

// Get all tags
const posts = await noutious.queryBlogTags();

Other APIs are still waiting for development.

License

MIT

About

Lightweright filed-based CMS integration, for Node.js front-end frameworks.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5