
Security News
/Research
npm Phishing Email Targets Developers with Typosquatted Domain
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
dropkiq-ui
Advanced tools
Dropkiq simplifies the creation of Liquid expressions. Quickly build your dynamic content with the simplest Liquid template editor.
Check it out at https://www.dropkiq.com!
DropkiqUI works with the Dropkiq Engine in order to provide inline Liquid suggestions as users write Liquid documents.
The Dropkiq Engine can be found here: https://www.npmjs.com/package/dropkiq. The engine is responsible for processing the text, caret position, and schema of the application to make suggestions as the user types. The DropkiqUI (contained in this repository) is responsible for rendering the UI so that users may see those suggestions.
The DropkiqUI has been tested in all major browsers and works with standard text input, textarea, and contenteditable fields.
DropkiqUI is available via npm: https://www.npmjs.com/package/dropkiq-ui
With NPM:
npm install dropkiq-ui
With Yarn:
yarn install dropkiq-ui
Example Installation instructions for Rails (Assuming you're using Webpacker: https://github.com/rails/webpacker):
{
name: "My Application",
"dependencies": {
"dropkiq-ui": "^1.0.4"
}
}
javascript/packs/application.ts
, import the DropkiqUI library:var { DropkiqUI } = require('dropkiq-ui');
window['DropkiqUI'] = DropkiqUI;
app/assets/stylesheets/application.scss
, import the DropkiqUI CSS:@import 'dropkiq-ui/dist/dropkiq';
var schema = gon.dropkiq_schema_yaml;
var scope = gon.example_data;
var context = {
activity: {
type: "ColumnTypes::HasOne",
foreign_table_name: 'activities'
},
first_name: {
type: "ColumnTypes::String",
foreign_table_name: null
},
last_name: {
type: "ColumnTypes::String",
foreign_table_name: null
}
};
new window.DropkiqUI(document.getElementById('basic-dropkiq-example-1'), schema, context, scope, gon.licenseKey);
After checking out the repo, run yarn
to install dependencies. Then, run yarn jest
to run the tests.
To generate a new build, run gulp
.
Bug reports and pull requests are welcome on GitHub at https://github.com/akdarrah/dropkiq-ui. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The Dropkiq UI Javascript Library is available as open source under the terms of the MIT License.
FAQs
Liquid Expressions Simplified
The npm package dropkiq-ui receives a total of 126 weekly downloads. As such, dropkiq-ui popularity was classified as not popular.
We found that dropkiq-ui 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.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.
Security News
Knip hits 500 releases with v5.62.0, refining TypeScript config detection and updating plugins as monthly npm downloads approach 12M.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.