GitShow/tj/eson
tj

eson

Extended (pluggable) JSON for node - great for configuration files and JSON transformations

by tj
Star on GitHubForknpm

JavaScript

151 stars14 forks5 contributorsQuiet · 12y agoSince 2012

Meet the team

See all 5 on GitHub →
tj
tj61 contributions
3rd-Eden
3rd-Eden1 contribution
TooTallNate
TooTallNate1 contribution
timoxley
timoxley1 contribution

Recent PRs & issues

Quiet · 1 in progress · Last activity 12y ago
See all on GitHub →
dantman
Integrate with another project like nconf instead of reimplementing the basics?OpenIssue

I took a look at this library for configuring the express server in one of my projects. The plugin support with features like eson.ms is awesome. However the argv parsing is crude and eson doesn't allow me to parse any more than one config file (I'd like to save defaults in one, some env specific stuff in another, and then read a real user config file somewhere). Looking at nconf on the other hand it supports multiple file parsing, defaults, overrides, arg parsing using a full argv parser (optimist), but it has no support for plugins that support tweaking the values within the config files parsed. Instead of excelling in one area and trying to re-do another would you consider patching another library like nconf to support eson's type of plugins and making eson a collection of plugins.

dantman · 12y ago
jeremyruppel
Parser accessorOpenPR

This patch makes the serialization format for the eson Parser configurable. Users may provide their own and methods. This would allow one to swap in another implementation like json5, for instance.

jeremyruppel · 12y ago

Recent fixes

View closed PRs →
3rd-Eden
Set the correct glob starting directoryMergedPR

Set the directory of glob to the directory where the original JSON was read from.

3rd-Eden · 7y ago
timoxley
Allow files to be preprocessed before inclusion.MergedPR

This builds upon the functionality in #1, adding the ability to run a file's content through a preprocessor before being added to the JSON. My use case I'm building a backend-less website, where the data is simply defined in json, and I'd like to be able to easily include the content of files in non-JSON formats (e.g. markdown) in my json file. If there's anything you'd like me to do to make these PRs better, let me know.

timoxley · 11y ago
TooTallNate
package: add the "repository" section to the package.json file MergedPR

so that works as expected

TooTallNate · 11y ago
Structured data for AI agents

Repository: tj/eson. Description: Extended (pluggable) JSON for node - great for configuration files and JSON transformations Stars: 151, Forks: 14. Primary language: JavaScript. Open PRs: 1, open issues: 4. Last activity: 12y ago. Top contributors: tj, 3rd-Eden, TooTallNate, timoxley.

·@ofershap

Replace github.com with gitshow.dev