@vishu1301/script-writing 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -4
- package/dist/index.cjs +854 -129
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +86 -7
- package/dist/index.d.ts +86 -7
- package/dist/index.js +851 -131
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,20 +1,24 @@
|
|
|
1
|
-
# Script Writing
|
|
1
|
+
# Script Writing & Breakdown Library
|
|
2
2
|
|
|
3
|
-
An advanced, React and Next.js-based script and
|
|
3
|
+
An advanced, React and Next.js-based script writing and breakdown analysis library for the web.
|
|
4
4
|
|
|
5
|
-
This
|
|
5
|
+
This package provides developers with an intuitive suite of tools to draft, edit, and format scripts according to industry standards, alongside powerful script breakdown utilities to highlight, tag, and analyze scene elements.
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
9
|
+
- **Screenplay Editor Component:** Fully-featured WYSIWYG editor for screenplays.
|
|
9
10
|
- **Industry-Standard Formatting:** Automatically formats text to screenplay guidelines including Scene Headings, Action, Character, Parenthetical, Dialogue, and Transitions.
|
|
10
11
|
- **Smart Auto-Suggestions:** Intelligently suggests previously used Characters, Locations, and Character Extensions (like V.O., O.S.) as you type.
|
|
11
12
|
- **PDF Import & Export:** Built-in tools to import and parse existing scripts from PDFs (`pdfjs-dist`) and export your drafts into perfectly formatted screenplay PDFs (`jsPDF`).
|
|
12
13
|
- **Scene Management:** Easily toggle Scene Types (INT./EXT.) and Time of Day (DAY/NIGHT) alongside Scene Numbering features.
|
|
14
|
+
- **Script Breakdown & Tagging:** Interactive scene viewer with auto-character tagging, text selection, and customizable element tagging (e.g., Cast, Props, Wardrobe).
|
|
13
15
|
- **Keyboard Shortcuts:** Fluid writing experience using keyboard shortcuts (e.g., `Ctrl + ↑/↓` to change block types, `Enter` to create new blocks).
|
|
14
|
-
- **Headless Architecture:** Core logic is exposed via
|
|
16
|
+
- **Headless Architecture:** Core logic is exposed via hooks (`useScreenplayEditor` and `useScriptBreakdownScene`), allowing complete customizability over the UI.
|
|
15
17
|
|
|
16
18
|
|
|
17
19
|
## Installation
|
|
18
20
|
|
|
21
|
+
Install the package via npm or yarn:
|
|
22
|
+
|
|
19
23
|
```bash
|
|
20
24
|
npm install @vishu1301/script-writing
|