
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
ollama-chat-client
Advanced tools
Template and quick-starter to create your own modern React library includes awesome features and bandled using Rollup.
Note: At date of writing this (April 2023), since the create-react-library tool is no longer actively maintained (https://github.com/transitive-bullshit/create-react-library#readme) then I thought about creating this boilerplate to help bootstrap a modern react library with some nice features
This repository created for:
As mentioned in readme of create-react-library there are some others tools(you can use it as a bundler) as an alternative to Rollup like tsup, tsdx, or microbundle.
see also this artice https://transitivebullsh.it/javascript-dev-tools-in-2022#823feddaa1bb4edea19042852b0a5b54
commonjs and es module formatsgit clone https://github.com/MidoAhmed/rollup-react-library-starter.git
cd rollup-react-library-starter
npm install
Storybook gives you an easy way to see and use your components while working on them in your library project, without having to build an unnecessary testing page just to display them.
npm run storybook # runs the host Storybook application locally for quick and easy testing
Now, anytime you make a change to your library or the stories, the storybook will live-reload your local dev server so you can iterate on your component in real-time.
Rollup watch and build:
for Local development run rollup to watch your src/ module and automatically recompile it into dist/ whenever you make changes.
npm run dev # runs rollup with watch flag
npm run build : builds the library to distnpm run dev : builds the library, then keeps rebuilding it whenever the source files change.npm test : tests the library and show the coverage.npm run lint : runs eslint.npm run storybook : runs the host Storybook application locally for quick and easy testingnpm run build-storybook : builds a static HTML/JS bundle that can easily be hosted on a remote server, so all members of your team can try your components.npm run deploy-storybook : build & deploy the storybook to GitHub Pagespublish to GitHub Packages registry:
registry=https://registry.npmjs.org/
@YOUR_GITHUB_USERNAME:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=YOUR_AUTH_TOKEN
and run:
npm publish
MIT.
FAQs
AI Widgets
The npm package ollama-chat-client receives a total of 85 weekly downloads. As such, ollama-chat-client popularity was classified as not popular.
We found that ollama-chat-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.