Comments (5)
Hi - I will look into this tomorrow, but I have used it in a TS project. I will need to see what the best practice is these days for TS.
from ansi_up.
Hi @vidartf - if you created these example, I would accept the pull request. 👍
from ansi_up.
See #47 / #48 for my take on a TS example and a fix for TS typings.
from ansi_up.
Thanks @vidartf - your pull requests were merged.
from ansi_up.
BTW - a quick heads up - I'm pushing the changes for Bold support. I renamed one of the TypeScript classes. You shouldn't have an issue, but I didn't want this to be a surprise either.
from ansi_up.
Related Issues (20)
- Escape for html stopped woking since 5.0.0 HOT 1
- A function to remove ansi color flag, for get plane log. HOT 1
- automatic links from http/https text HOT 2
- Inclusive design: change `whitelist` to `allowlist`? HOT 1
- Handle xterm normal/reset escape sequence HOT 5
- Handle carriage returns HOT 11
- Fix VERSION file HOT 1
- Lib brings in Npm 9 HOT 2
- Minify `ansi_up.js` file HOT 6
- Support "dim"/"faint" modifier HOT 10
- Combining link and color change doesn't work HOT 5
- ESM export is seen as `default.default` HOT 10
- When dealing with embedded URLs, drop support for BEL HOT 1
- URL encoding doesn't work with long URLs HOT 2
- Remove .vscode stuff HOT 1
- Review the examples
- Cannot import since update to version 6.0.0 HOT 6
- Text state carries between separate calls to `ansi_to_html` after upgrading to v6.0.0 HOT 2
- Using ansi_up with noImplicitAny typechecking HOT 2
- State is preserved between calls HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansi_up.