
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
@paperless/react
Advanced tools
npm install @paperless/core @paperless/react
yarn add @paperless/core @paperless/react
npm install @paperless/core @paperless/angular
yarn add @paperless/core @paperless/angular
npm install @paperless/core
yarn add @paperless/core
// setup
import { applyPolyfills, defineCustomElements } from '@paperless/core/loader';
applyPolyfills().then(() => defineCustomElements());
// usage
import { Button } from '@employes/paperless';
const App = () => <Button>Click me!</Button>;
// main.ts
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { applyPolyfills, defineCustomElements } from '@paperless/core/loader';
applyPolyfills()
.then(() => defineCustomElements())
.then(() => platformBrowserDynamic().bootstrapModule(AppModule))
.catch((err) => console.error(err));
// App Module
import { PaperlessModule } from '@employes/paperless-ngx';
@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
// add this in your app module
PaperlessModule.forRoot(),
// add this in any module using paperless components
PaperlessModule,
],
providers: [],
bootstrap: [AppComponent],
})
export class AppModule {}
// Any component
@Component({
selector: 'app-root',
templateUrl: `
<p-button>Click me!</p-button>
`,
})
export class AppComponent {}
Add the following code snippet in your project to start using the components
import { defineCustomElements } from '@paperless/core/loader';
defineCustomElements();
And in your html:
<p-button>Click me!</p-button>
The library is javascript based but types are supported with d.ts files.
You should get the types automatically when installing @paperless/core.
We welcome contributions to @paperless!
Read our contributing guide and help us build or improve our components.
This project is offered under Apache License 2.0.
FAQs
React specific wrapper for component-library
The npm package @paperless/react receives a total of 108 weekly downloads. As such, @paperless/react popularity was classified as not popular.
We found that @paperless/react demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.