
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@grammarly/editor-sdk
Advanced tools
Add Grammarly's real-time writing support to your app with just a few lines of code.
This package is designed for vanilla JavaScript apps. Visit @grammarly/editor-sdk-react for our package for React apps and @grammarly/editor-sdk-vue for our package for Vue apps.
Here's how to get started:
Create a new Grammarly for Developers app
Install the Grammarly Text Editor SDK:
npm install @grammarly/editor-sdk
Initialize the SDK with your client ID:
import * as Grammarly from "@grammarly/editor-sdk";
Grammarly.init("YOUR_CLIENT_ID");
Add the Grammarly Text Editor Plugin to your text editors by wrapping them with the grammarly-editor-plugin web component.
<grammarly-editor-plugin>
<textarea></textarea>
</grammarly-editor-plugin>
If you'd like to learn more about what you can do with the SDK and how you can customize the plugin for your app, visit:
If you want to ask a question, share a suggestion, or chat about how you're using the Grammarly Text Editor SDK in your app, join us in the Grammarly for Developers community on GitHub.
FAQs
Grammarly's writing SDK for web editors
The npm package @grammarly/editor-sdk receives a total of 2,634 weekly downloads. As such, @grammarly/editor-sdk popularity was classified as popular.
We found that @grammarly/editor-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.