Skip to content

Commit

Permalink
chore: update username
Browse files Browse the repository at this point in the history
  • Loading branch information
haltcase committed Apr 30, 2022
1 parent d2baa99 commit 28e27f0
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions license
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) Bo Lingen <[email protected]> (https://github.com/citycide)
Copyright (c) Bo Lingen <[email protected]> (https://github.com/haltcase)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"name": "tablemark-cli",
"version": "2.0.0",
"description": "Generate markdown tables from JSON data at the command line.",
"author": "Bo Lingen <[email protected]> (https://github.com/citycide)",
"author": "Bo Lingen <[email protected]> (https://github.com/haltcase)",
"license": "MIT",
"repository": "https://github.com/citycide/tablemark-cli.git",
"homepage": "https://github.com/citycide/tablemark-cli",
"bugs": "https://github.com/citycide/tablemark-cli/issues",
"repository": "https://github.com/haltcase/tablemark-cli.git",
"homepage": "https://github.com/haltcase/tablemark-cli",
"bugs": "https://github.com/haltcase/tablemark-cli/issues",
"engines": {
"node": ">=14.18"
},
Expand Down
16 changes: 8 additions & 8 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# tablemark-cli &middot; [![Version](https://flat.badgen.net/npm/v/tablemark-cli)](https://www.npmjs.com/package/tablemark-cli) [![License](https://flat.badgen.net/npm/license/tablemark-cli)](https://www.npmjs.com/package/tablemark-cli) [![Travis CI](https://flat.badgen.net/travis/citycide/tablemark-cli)](https://travis-ci.org/citycide/tablemark-cli) [![JavaScript Standard Style](https://flat.badgen.net/badge/code%20style/standard/green)](https://standardjs.com)
# tablemark-cli &middot; [![Version](https://flat.badgen.net/npm/v/tablemark-cli)](https://www.npmjs.com/package/tablemark-cli) [![License](https://flat.badgen.net/npm/license/tablemark-cli)](https://www.npmjs.com/package/tablemark-cli) [![Travis CI](https://flat.badgen.net/travis/haltcase/tablemark-cli)](https://travis-ci.org/haltcase/tablemark-cli) [![JavaScript Standard Style](https://flat.badgen.net/badge/code%20style/standard/green)](https://standardjs.com)

> Generate markdown tables from JSON data at the command line.
Render JSON input data as a markdown table from the command line,
powered by the [`tablemark`](https://github.com/citycide/tablemark) module.
powered by the [`tablemark`](https://github.com/haltcase/tablemark) module.

## features

Expand Down Expand Up @@ -81,9 +81,9 @@ cat input.json | tablemark - > output.md
[NDJSON](http://ndjson.org) is a form of JSON that delimits multiple JSON objects by newlines:

```js
{"name":"trilogy","repo":"[citycide/trilogy](https://github.com/citycide/trilogy)","desc":"No-hassle SQLite with type-casting schema models and support for native & pure JS backends."}
{"name":"strat","repo":"[citycide/strat](https://github.com/citycide/strat)","desc":"Functional-ish JavaScript string formatting, with inspirations from Python."}
{"name":"tablemark-cli","repo":"[citycide/tablemark-cli](https://github.com/citycide/tablemark-cli)","desc":"Generate markdown tables from JSON data at the command line."}
{"name":"trilogy","repo":"[haltcase/trilogy](https://github.com/haltcase/trilogy)","desc":"No-hassle SQLite with type-casting schema models and support for native & pure JS backends."}
{"name":"strat","repo":"[haltcase/strat](https://github.com/haltcase/strat)","desc":"Functional-ish JavaScript string formatting, with inspirations from Python."}
{"name":"tablemark-cli","repo":"[haltcase/tablemark-cli](https://github.com/haltcase/tablemark-cli)","desc":"Generate markdown tables from JSON data at the command line."}
```

This input from a file or stdin is supported just as if it were
Expand All @@ -95,11 +95,11 @@ tablemark input.ndjson > output.md

## see also

* [`tablemark`](https://github.com/citycide/tablemark) &ndash; the module used by this utility
* [`tablemark`](https://github.com/haltcase/tablemark) &ndash; the module used by this utility

## contributing

Search the [issues](https://github.com/citycide/tablemark-cli) if you come
Search the [issues](https://github.com/haltcase/tablemark-cli) if you come
across any trouble, open a new one if it hasn't been posted, or, if you're
able, open a [pull request](https://help.github.com/articles/about-pull-requests/).
Contributions of any kind are welcome in this project.
Expand All @@ -112,4 +112,4 @@ Thank you!

## license

MIT © Bo Lingen / citycide
MIT © Bo Lingen / haltcase
8 changes: 4 additions & 4 deletions tests/fixtures/input.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[
{
"name": "trilogy",
"repo": "[citycide/trilogy](https://github.com/citycide/trilogy)",
"repo": "[haltcase/trilogy](https://github.com/haltcase/trilogy)",
"desc": "No-hassle SQLite with type-casting schema models and support for native & pure JS backends."
},
{
"name": "strat",
"repo": "[citycide/strat](https://github.com/citycide/strat)",
"repo": "[haltcase/strat](https://github.com/haltcase/strat)",
"desc": "Functional-ish JavaScript string formatting, with inspirations from Python."
},
{
"name": "tablemark-cli",
"repo": "[citycide/tablemark-cli](https://github.com/citycide/tablemark-cli)",
"repo": "[haltcase/tablemark-cli](https://github.com/haltcase/tablemark-cli)",
"desc": "Generate markdown tables from JSON data at the command line."
}
]
]
6 changes: 3 additions & 3 deletions tests/fixtures/input.ndjson
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{"name":"trilogy","repo":"[citycide/trilogy](https://github.com/citycide/trilogy)","desc":"No-hassle SQLite with type-casting schema models and support for native & pure JS backends."}
{"name":"strat","repo":"[citycide/strat](https://github.com/citycide/strat)","desc":"Functional-ish JavaScript string formatting, with inspirations from Python."}
{"name":"tablemark-cli","repo":"[citycide/tablemark-cli](https://github.com/citycide/tablemark-cli)","desc":"Generate markdown tables from JSON data at the command line."}
{"name":"trilogy","repo":"[haltcase/trilogy](https://github.com/haltcase/trilogy)","desc":"No-hassle SQLite with type-casting schema models and support for native & pure JS backends."}
{"name":"strat","repo":"[haltcase/strat](https://github.com/haltcase/strat)","desc":"Functional-ish JavaScript string formatting, with inspirations from Python."}
{"name":"tablemark-cli","repo":"[haltcase/tablemark-cli](https://github.com/haltcase/tablemark-cli)","desc":"Generate markdown tables from JSON data at the command line."}
6 changes: 3 additions & 3 deletions tests/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ const joinLines = (lines: string[], lineEnding = "\n"): string =>
const expected = joinLines([
"| Name | Repo | Desc |",
"| :------------ | :------------------------------------------------------------------ | :------------------------------------------------------------------------------------------ |",
"| trilogy | [citycide/trilogy](https://github.com/citycide/trilogy) | No-hassle SQLite with type-casting schema models and support for native & pure JS backends. |",
"| strat | [citycide/strat](https://github.com/citycide/strat) | Functional-ish JavaScript string formatting, with inspirations from Python. |",
"| tablemark-cli | [citycide/tablemark-cli](https://github.com/citycide/tablemark-cli) | Generate markdown tables from JSON data at the command line. |"
"| trilogy | [haltcase/trilogy](https://github.com/haltcase/trilogy) | No-hassle SQLite with type-casting schema models and support for native & pure JS backends. |",
"| strat | [haltcase/strat](https://github.com/haltcase/strat) | Functional-ish JavaScript string formatting, with inspirations from Python. |",
"| tablemark-cli | [haltcase/tablemark-cli](https://github.com/haltcase/tablemark-cli) | Generate markdown tables from JSON data at the command line. |"
])

const inputLongValue = JSON.stringify({
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"outDir": "dist",
// emitted bin script must use LF line endings to be
// executed properly in all scenarios, see:
// https://github.com/citycide/tablemark-cli/issues/1
// https://github.com/haltcase/tablemark-cli/issues/1
"newLine": "lf"
},
"include": [
Expand Down

0 comments on commit 28e27f0

Please sign in to comment.