cdnjs / cdnjs/packages

Add: @chenglou/pretext

Open Beginner friendly
#2,142 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

🏷 Library Request
Dominant language
Shell
Stars
420
Forks
405
Avg merge
3d 15h
Merged PRs (30d)
3

Description

Library name

@chenglou/pretext

Library license

https://github.com/chenglou/pretext/blob/main/LICENSE

Library source

https://github.com/chenglou/pretext

Files to include
  • analysis.ts
  • bidi.ts
  • layout.test.ts
  • layout.ts
  • line-break.ts
  • measurement.ts
  • test-data.ts
  • text-modules.d.ts

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting existing package configurations in the cdnjs/packages repository for how TypeScript libraries are represented, then compare the @chenglou/pretext source and LICENSE. Add the package using the listed files—analysis.ts, bidi.ts, layout.test.ts, layout.ts, line-break.ts, measurement.ts, test-data.ts, and text-modules.d.ts—and confirm the configuration matches repository conventions.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.