Gathering detailed insights and metrics for @yozora/tokenizer-list-item
Gathering detailed insights and metrics for @yozora/tokenizer-list-item
Gathering detailed insights and metrics for @yozora/tokenizer-list-item
Gathering detailed insights and metrics for @yozora/tokenizer-list-item
A customizable markup parser for resolving markdown-like syntax strings into AST and vice versa.
npm install @yozora/tokenizer-list-item
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (96.67%)
Handlebars (2.15%)
JavaScript (1.18%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
153 Stars
1,463 Commits
2 Forks
3 Watchers
3 Branches
1 Contributors
Updated on Jul 04, 2025
Latest Version
2.0.0-alpha.0
Package Id
@yozora/tokenizer-list-item@2.0.0-alpha.0
Unpacked Size
42.84 kB
Size
7.80 kB
File Count
10
NPM Version
lerna/4.0.0/node@v14.17.1+x64 (linux)
Node Version
14.17.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
@yozora/tokenizer-list-item produce ListItem type nodes. See documentation for details.
npm
1npm install --save @yozora/tokenizer-list-item
yarn
1yarn add @yozora/tokenizer-list-item
@yozora/tokenizer-list-item has been integrated into @yozora/parser / @yozora/parser-gfm-ex / @yozora/parser-gfm,
so you can use YozoraParser
/ GfmExParser
/ GfmParser
directly.
@yozora/tokenizer-list-item cannot be used alone, it needs to be registered in YastParser as a plugin-in before it can be used.
1import { DefaultYastParser } from '@yozora/core-parser' 2import ParagraphTokenizer from '@yozora/tokenizer-paragraph' 3import TextTokenizer from '@yozora/tokenizer-text' 4import ListItemTokenizer from '@yozora/tokenizer-list-item' 5 6const parser = new DefaultYastParser() 7 .useBlockFallbackTokenizer(new ParagraphTokenizer()) 8 .useInlineFallbackTokenizer(new TextTokenizer()) 9 .useTokenizer(new ListItemTokenizer()) 10 11// parse source markdown content 12parser.parse(` 13- a 14- b 15 - c 16 - d 17 - e 18- f 19- g 20 21--- 22 23- [ ] This is a TODO item. 24- [-] This is a processing TODO item. 25- [x] This is a finished TODO item. 26 27--- 28 291. This is an ordered list item 30 31a. This is an another type of ordered list item 32`)
1import YozoraParser from '@yozora/parser' 2 3const parser = new YozoraParser() 4 5// parse source markdown content 6parser.parse(` 7- a 8- b 9 - c 10 - d 11 - e 12- f 13- g 14 15--- 16 17- [ ] This is a TODO item. 18- [-] This is a processing TODO item. 19- [x] This is a finished TODO item. 20 21--- 22 231. This is an ordered list item 24 25a. This is an another type of ordered list item 26`)
1import GfmParser from '@yozora/parser-gfm' 2 3const parser = new GfmParser() 4 5// parse source markdown content 6parser.parse(` 7- a 8- b 9 - c 10 - d 11 - e 12- f 13- g 14 15--- 16 17- [ ] This is a TODO item. 18- [-] This is a processing TODO item. 19- [x] This is a finished TODO item. 20 21--- 22 231. This is an ordered list item 24 25a. This is an another type of ordered list item 26`)
1import GfmExParser from '@yozora/parser-gfm-ex' 2 3const parser = new GfmExParser() 4 5// parse source markdown content 6parser.parse(` 7- a 8- b 9 - c 10 - d 11 - e 12- f 13- g 14 15--- 16 17- [ ] This is a TODO item. 18- [-] This is a processing TODO item. 19- [x] This is a finished TODO item. 20 21--- 22 231. This is an ordered list item 24 25a. This is an another type of ordered list item 26`)
Name | Type | Required | Default |
---|---|---|---|
name | string | false | "@yozora/tokenizer-list-item" |
priority | number | false | TokenizerPriority.CONTAINING_BLOCK |
name
: The unique name of the tokenizer, used to bind the token it generates,
to determine the tokenizer that should be called in each life cycle of the
token in the entire matching / parsing phase.
priority
: Priority of the tokenizer, determine the order of processing,
high priority priority execution. interruptable. In addition, in the match-block
stage, a high-priority tokenizer can interrupt the matching process of a
low-priority tokenizer.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
no SAST tool detected
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More