Skip to content

Doesn't work for me #15

Description

@scott-cornwell

I'm on node 8.9 and using iterm2 on OSX. I can print colors with the chalk package fine.

If I do this:

const testObject = {
  someData: 'testing'
};
console.log(jsome.getColoredString(testObject));

I get this in the console:

      [ '%c{\n  %ctest%c: %c"%cblah%c"\n%c}',
        'color: #FFFF00',
        'color: #00FF00',
        'color: #FFFF00',
        'color: #FFFF00',
        'color: #FF00FF',
        'color: #FFFF00',
        'color: #FFFF00' ]

Tried just jsome(testObject) too and it gives the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions