Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.
/ doc3rd Public archive

Utilities for manipulating MS word (doc, docx) files for 3GPP development purpose

Notifications You must be signed in to change notification settings

proj3rd/doc3rd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

doc3rd

MS Word utilities, especially targeted 3GPP

Installation

npm install proj3rd/doc3rd

Parser

Parse MS Word document and extract paragraphs and tables in order.

Usage

import { parse } from 'doc3rd';

const zip = readFileSync('38413-h00.docx');
const parsed = await parse(zip);
  • Returns a list of Paragraphs and Tables in order
  • Paragraph
    • text
    • outlineLevel: Optional
  • Table: Contains a list of Rows
  • Row: Contains a list of Cells
  • Cell: Contains a list of Paragraphs

About

Utilities for manipulating MS word (doc, docx) files for 3GPP development purpose

Resources

Stars

Watchers

Forks

Packages

No packages published