Skip to content

v1.2.0 - TypeScript Support & npm Publishing

Choose a tag to compare

@r-el r-el released this 08 Jul 14:58
· 10 commits to master since this release
83d7cdd

🎉 New Features

Added

  • TypeScript Definitions - Full TypeScript support with bundled lib/json-file-crud.d.ts for IDE support
  • npm Publishing - Now published to npm public registry instead of GitHub Packages

Changed

  • Package name changed from @r-el/json-file-crud to json-file-crud for public npm access
  • Removed GitHub Packages registry configuration

Installation

npm install json-file-crud

TypeScript Usage

import JsonFileCRUD from 'json-file-crud';

const db = new JsonFileCRUD<User>('./users.json');

Thanks to @InonGuetta for contributing the TypeScript definitions! ��