├── .github └── workflows │ └── test.yaml ├── .gitignore ├── .prettierignore ├── LICENSE ├── README.md ├── package.json ├── src ├── ckan.js ├── cli.js ├── engines.js ├── filters.js ├── render.js ├── templates │ ├── base.js │ ├── base.md │ ├── base.py │ ├── base.r │ └── macros.md └── text.js └── test ├── filters.test.js ├── fixtures ├── ckan-schema-as-json-schema.json ├── ckan-schema.json ├── ckan-schema.md ├── custom-template-output.md ├── custom-template.md ├── data-resource.html ├── data-resource.js ├── data-resource.json ├── data-resource.md ├── data-resource.py ├── data-resource.r └── invalid.json ├── render.test.js └── text.test.js /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/.prettierignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/package.json -------------------------------------------------------------------------------- /src/ckan.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/src/ckan.js -------------------------------------------------------------------------------- /src/cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/src/cli.js -------------------------------------------------------------------------------- /src/engines.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/src/engines.js -------------------------------------------------------------------------------- /src/filters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/src/filters.js -------------------------------------------------------------------------------- /src/render.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/src/render.js -------------------------------------------------------------------------------- /src/templates/base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/src/templates/base.js -------------------------------------------------------------------------------- /src/templates/base.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/src/templates/base.md -------------------------------------------------------------------------------- /src/templates/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/src/templates/base.py -------------------------------------------------------------------------------- /src/templates/base.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/src/templates/base.r -------------------------------------------------------------------------------- /src/templates/macros.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/src/templates/macros.md -------------------------------------------------------------------------------- /src/text.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/src/text.js -------------------------------------------------------------------------------- /test/filters.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/filters.test.js -------------------------------------------------------------------------------- /test/fixtures/ckan-schema-as-json-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/fixtures/ckan-schema-as-json-schema.json -------------------------------------------------------------------------------- /test/fixtures/ckan-schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/fixtures/ckan-schema.json -------------------------------------------------------------------------------- /test/fixtures/ckan-schema.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/fixtures/ckan-schema.md -------------------------------------------------------------------------------- /test/fixtures/custom-template-output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/fixtures/custom-template-output.md -------------------------------------------------------------------------------- /test/fixtures/custom-template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/fixtures/custom-template.md -------------------------------------------------------------------------------- /test/fixtures/data-resource.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/fixtures/data-resource.html -------------------------------------------------------------------------------- /test/fixtures/data-resource.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/fixtures/data-resource.js -------------------------------------------------------------------------------- /test/fixtures/data-resource.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/fixtures/data-resource.json -------------------------------------------------------------------------------- /test/fixtures/data-resource.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/fixtures/data-resource.md -------------------------------------------------------------------------------- /test/fixtures/data-resource.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/fixtures/data-resource.py -------------------------------------------------------------------------------- /test/fixtures/data-resource.r: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/fixtures/data-resource.r -------------------------------------------------------------------------------- /test/fixtures/invalid.json: -------------------------------------------------------------------------------- 1 | This is not a JSON 2 | -------------------------------------------------------------------------------- /test/render.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/render.test.js -------------------------------------------------------------------------------- /test/text.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datopian/jsv/HEAD/test/text.test.js --------------------------------------------------------------------------------