This package contains the core functionalities of Enclosed, an open-source project that aims to provide a simple and secure way to share e2e encrypted notes.
# with npm
npm install @enclosed/lib
# with yarn
yarn add @enclosed/lib
# with pnpm
pnpm add @enclosed/lib
import { createNote } from '@enclosed/lib';
const { noteUrl } = await createNote({
content: 'Hello, World!',
password: 'password',
ttlInSeconds: 3600,
deleteAfterReading: true,
});
console.log(noteUrl);
This project is licensed under the Apache 2.0 License. See the LICENSE file for more information.
This project is crafted with ❤️ by Corentin Thomasset.