🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@blogody/export

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blogody/export

Export all your [Blogody](https://www.blogody.com) data with this isomorphic JavaScript/TypeScript package. You can export everything into a JSON text file and choose between HTML or Markdown output for your post and page data. Articles can also be writte

1.5.0
latest
npm
Version published
Maintainers
1
Created
Source

Blogody Export

Export all your Blogody data with this isomorphic JavaScript/TypeScript package. You can export everything into a JSON text file and choose between HTML or Markdown output for your post and page data. Articles can also be written into individual files which makes it easier to import into other systems.

News Article

More background information can be found in this news article.

🚀 Quick start

  • Install the exporter

    yarn add @blogody/export
    
  • Use the exporter in your js/ts projects

    import { BlogodyExport } from '@blogody/export'
    
    const api = new BlogodyExport({ key: 'YOUR BLOGODY API ACCESS KEY' })
    
    // make API calls
    const data = await api.export({ format: 'markdown' })
    
    // Other transforms can go here, e.g. strip settings (Do not strip the blogody section!)
    const fileData = { ...data, settings: undefined }
    
    // write everything to a JSON text file
    await api.writeFile({ jsonData: fileData })
    
    // write articles to separate files
    await api.writePosts({ jsonData: fileData })
    

Currently supported formats are : HTML and Markdown.

🔑 Blogody API Keys

Go to your Blogody account and create a new key under Settings > Developers.

Copyright (c) 2021 Blogody - Released under the MIT license.

FAQs

Package last updated on 19 Feb 2022

Did you know?

Socket

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.

Install

Related posts