Comments (3)
No worries nice about your UI idea (FYI, you can also use nuxi programmatic API for this and we also plan to support more template utils thet are to be reused for vscode extension and possibly devtoils so i guess also a good match for your project idea at least for Nuxt. Feel free to drop an issue in nuxi or dm me in discord if wanted to do it!)
โโ
Regarding this, we could expose serialize method that is essentially alias of JSON.serialize but allow me think more if there is something other than same alias that adds value to introduceโฆ
from destr.
Thanks for kind words and feature request. What specifically are you looking for serializer that differs JSON.stringify
?
from destr.
Thanks for kind words and feature request. What specifically are you looking for serializer that differs
JSON.stringify
?
Don't know! Feels odd using destr for JSON.parse and not having an unjs alternative for JSON.stringify...
I'm passionate of consistency hehe. ๐
Also room for improving JSON.stringify's perf?
Motivation
I'm exploring all unjs tools because I'm building an UI for Nuxt and NestJS scaffolding, like nuxi add
and nuxi new
, or nest generate
and nest new
, but with a graphical UI. You select the root path for all apps (projects), select the type (nuxt or nestjs for now), and then you create the apps, and select them, and then you can add templates to them. Like Nuxt devtools, but more specific for my needs. The pinia stores are created like stores/store/index.ts, stores/store/actions.ts, stores/store/state.ts, you can select the global flag of middleware, the HTTP method of server API routes and path parameter, etc.
Final Words
If there's not alternative, or no plans to make one, just close the Issue kindly. It was more of a curiosity. Wanted to leave this in a Discussions, but it's not available.
Have a nice rest of the day.
from destr.
Related Issues (13)
- QA: parse uncommon properties
- Memory leak in `destr` package, Nuxt 3 production usage HOT 9
- Dependency Dashboard
- leading whitespace HOT 3
- Should parse constructor unless `prototype` child
- Warning when dropping keys for saftey in dev mode HOT 1
- better Readme HOT 4
- bigint support
- perf: avoid lowercasing long strings
- destr does not unescape special chars if json contains only string HOT 1
- parsing decimals incorrectly HOT 1
- Compatibility Issues with the String.prototype.at() Method 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 destr.