Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/minho42/text-fragment-generator

Generate text fragment from css selector
https://github.com/minho42/text-fragment-generator

nodejs text-fragment

Last synced: 16 days ago
JSON representation

Generate text fragment from css selector

Awesome Lists containing this project

README

        

# Text fragment generator

Generate text fragment from css selector.

## Usage

Send http get request with json data.
### api route
`http://localhost:8000/api`

### json data
```json
{
"url": "https://github.com/minho42",
"selector": ".vcard-fullname.p-name"
}
```

### Output

`https://github.com/minho42#:~:text= Minho`

## See also
- https://github.com/GoogleChromeLabs/link-to-text-fragment
- https://wicg.github.io/scroll-to-text-fragment/