Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

jishnusv23/pdf-to-json-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Different ways to convert files into JSON format, supporting various modules and thefs module.

PDF to JSON Conversion using ("pdf.js-extract")

  • This is one of the easiest ways to extract PDF content, providing additional features like:
    • Extracting detailed metadata.
    • Retrieving page details such as width, string (str), and font size.

Markdown File to JSON Conversion

  • Different npm packages are available for this task, but I used thefs module with UTF-8 encoding for simplicity.
  • Additionalregex methods were used to structure the JSON format effectively.

MS Word to JSON Conversion using ("mammoth")

  • Themammoth package makes it easy to extract raw text from MS Word files.
  • Additional iteration methods were implemented to refine the extracted content.

Hosting the Project

  • Frontend: Vercel
  • Backend: Render

Notes

  • These methods are some of the ways to convert files into JSON.
  • Many other packages and AI APIs are available for more structured and advanced conversions.
  • Exploring these options can lead to better results.

[8]ページ先頭

©2009-2025 Movatter.jp