feat: createIfMissing option, named exports, README overhaul, remove internal docs#16
Merged
Merged
Conversation
…ove internal docs Agent-Logs-Url: https://github.com/bchr02/filejson/sessions/7c7666fd-759b-433d-9a4a-245790a63c81 Co-authored-by: bchr02 <10158167+bchr02@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
bchr02
April 30, 2026 22:14
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Several code quality issues: incorrect default documented for
saveDelay, raw ENOENT on missing files, no named exports for ESM/TS consumers, and internal working-note.mdfiles cluttering the repo root.Changes
app.jscreateIfMissingconfig option (default:false) — whentrue,load()initializescontentsto{}and writes the file instead of propagating ENOENTmodule.exports.Filejsonandmodule.exports.defaultalongside the default exportindex.d.tsexport = Filejsontoexport { Filejson }; export default Filejson;for true ESM named-import supportcreateIfMissing?: booleantoConfigREADME.md0mswas incorrectly marked as the default;100msis the defaultDeleted internal docs
Removed 6
*-IMPLEMENTATION-SUMMARY.mdfiles (ATOMIC-WRITES,DEBOUNCE,ESLINT,IMPLEMENTATION,NPM-DISCOVERABILITY,TEST) that were internal working notes with no value to consumers.