html-to-adf-converter

1.0.2 • Public • Published

HTML to ADF Converter

A lightweight npm package that simplifies the process of converting HTML strings from your editor into Atlassian Document Format (ADF). Ideal for users working with Jira REST API for posting, putting comments, or updating fields that require ADF formatting.

Features

  • Effortless Conversion: Easily transform HTML code into ADF format with a single function call.
  • Jira Integration: Streamline your Jira workflow by ensuring your content is in the required ADF structure.
  • Developer-Friendly: Simple to use, allowing developers to focus on their work without worrying about ADF formatting intricacies.

Installation

npm install html-to-adf-converter

Usage

import convertToADF  from 'html-to-adf-converter';

const htmlString = '<p>Your HTML content here</p>';
const adfResult = convertToADF(htmlString);

console.log(adfResult);

Contributing

Found a bug or have a feature request? Open an issue or submit a pull request. Contributions are welcome and appreciated!

🌐 Connect with Me

Let's stay connected! Feel free to reach out, ask questions, or just say hello. You can find me on:

Looking forward to connecting with you! 🚀

Readme

Keywords

Package Sidebar

Install

npm i html-to-adf-converter

Weekly Downloads

37

Version

1.0.2

License

MIT

Unpacked Size

5.72 kB

Total Files

3

Last publish

Collaborators

  • package_provider