1
Fork 0
solar-conflux/typescript/option
Matei Adriel 1f1afc0f28
typescript(option): feat: added a fromNullable helper
Signed-off-by: prescientmoon <git@moonythm.dev>
2019-12-20 14:44:42 +02:00
..
.github/workflows typescript(option): chore: fixed github action config... again 2019-12-19 14:10:32 +02:00
.vscode typescript(option): chore: fixed readme docs url 2019-12-19 20:58:54 +02:00
docs typescript(option): docs: started working on the docs 2019-12-19 20:42:23 +02:00
src typescript(option): feat: added a fromNullable helper 2019-12-20 14:44:42 +02:00
.gitignore typescript(option): chore: initial setup 2019-12-19 12:37:48 +02:00
.prettierrc typescript(option): chore: initial setup 2019-12-19 12:37:48 +02:00
LICENSE typescript(option): chore: initial setup 2019-12-19 12:37:48 +02:00
package.json typescript(option): chore: explicitly set package to public 2019-12-19 14:27:19 +02:00
pnpm-lock.yaml typescript(option): chore: replaced rollup-plugin-node-resolve with @rollup/plugin-node-resolve 2019-12-19 14:01:33 +02:00
README.md typescript(option): chore: fixed readme docs url 2019-12-19 20:58:54 +02:00
rollup.config.ts typescript(option): chore: changed amd namespace to Option 2019-12-19 14:04:54 +02:00
tsconfig.json typescript(option): chore: initial setup 2019-12-19 12:37:48 +02:00

npm (scoped) npm bundle size (scoped) forthebadge

Option

Installation

npm install @adrielus/option

(There is also an amd build at /dist/bundle.amd.js which uses the Option namespace)

Usage

For detailed usage read the docs

Contributing

First, clone this repo:

git clone https://github.com/Mateiadrielrafael/option
cd option

Then use pnpm to install the dependencies:

pnpm install

You can use the build command to build the package (this is dont automatically by github actions):

pnpm run build