New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

omelette

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

omelette - npm Package Compare versions

Comparing version 0.4.2 to 0.4.4

2

package.json

@@ -11,3 +11,3 @@ {

"author": "Fatih Kadir Akın <fka@fatihak.in>",
"version": "0.4.2",
"version": "0.4.4",
"licenses": [

@@ -14,0 +14,0 @@ {

@@ -144,6 +144,17 @@ <img src="https://rawgit.com/f/omelette/master/resources/logo.svg?v1" height="80">

### Install
### Tree API 🌲
#### Automated Install
You can use `simple objects` as autocompletion definitions:
```javascript
omelette('hello').tree({
cruel: ['world', 'moon'],
beautiful: ['mars', 'pluto']
}).init();
```
## Install
### Automated Install
Installing, and making your users install the autocompletion feature is very simple.

@@ -167,3 +178,3 @@

#### Manual Install
### Manual Install

@@ -249,3 +260,6 @@ *(You should add these instructions to your project's README)*

is: {
your: ['house', 'car'],
// You can also add some logic with defining functions:
your() {
return ['house', 'car'];
},
}

@@ -262,2 +276,10 @@ },

#### Advanced Tree Implementations
You can seperate your autocompletion by importing objects from another file:
```js
omelette('hello').tree(require('./autocompletion-tree.js')).init();
```
### Short Names

@@ -264,0 +286,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc