Add support for object output
See original GitHub issueHey, great library!
I’m about to release a new <svg-icon>
library where I recommend and show how to use this library.
In my library, we expect to get an object where the key
is the icon name, and the value is the content
:
{
settings: 'svg...'
}
Currently, I expose a function helper that’ll make it work with your library:
import * as icons from '../assets/svg/my-icons.model';
SvgIconsModule.forRoot({
icons: fromSvgProps(icons)
});
Do you think you can add this option as a built-in feature?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Add support for passing objects for output to console. · Issue #12
I just wanted to raise a request to add support for logging objects/vars as well as messages. Myself and colleagues usually output a...
Read more >ObjectOutputStream (Java Platform SE 7 ) - Oracle Help Center
An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream. The objects can be read (reconstituted) using an ...
Read more >Object.assign() - JavaScript - MDN Web Docs
The Object.assign() method copies all enumerable own properties from one or more source objects to a target object.
Read more >ObjectOutputStream in Java - write Object to File - DigitalOcean
When we create an instance of ObjectOutputStream, we have to provide the OutputStream to be used. This OutputStream is further used by ...
Read more >Format-Table (Microsoft.PowerShell.Utility)
The Format-Table cmdlet formats the output of a command as a table with the selected properties of the object in each column. The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I added in the README a recommended flow with your library.
I also think the default delimiter should be camelCase. This is the standard.