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

nodulator-angular

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodulator-angular - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

exemples/todo/client/controllers/.empty

2

package.json
{
"name": "nodulator-angular",
"version": "0.0.3",
"version": "0.0.4",
"description": "Angular module for Nodulator",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -9,13 +9,37 @@ Nodulator-Angular

Needs Nodulator-Assets.
Needs [Nodulator](https://github.com/Champii/Nodulator) and [Nodulator-Assets](https://github.com/Champii/Nodulator-Assets)
# Usage
___
### Project Generation
(BETA Feature)
USE IT IN AN EMPTY FOLDER
You can get global nodulator-angular: `$> npm install -g nodulator-angular`
And then: `$> Nodulator-Angular init`
It creates the following structure :
```
client
├── controllers
├── directives
├── factories
├── index.coffee
├── index.jade
├── public
│   ├── css
│   ├── img
│   └── js
│   └── angular.js
├── services
└── views
```
## Node side
```coffeescript
Nodulator = require 'Nodulator'
Assets = require 'Nodulator-assets'
Angular = require 'Nodulator-angular'
Nodulator = require 'nodulator'
Assets = require 'nodulator-assets'
Angular = require 'nodulator-angular'
# Default config, can be erased
# Default config, can be omited
Nodulator.Config

@@ -163,8 +187,10 @@ servicesPath: '/client/services'

# Called when a new resource instance is created
OnUpdate: (item) ->
# When a resource instance is updated
OnDelete: (item) ->
# When a resource is deleted
FetchAll: (done) ->
List: (done) ->
# Put every records in @list

@@ -174,2 +200,6 @@

# Fetch particular model and put it in @current
Delete: (id, done) ->
Add: (blob, done) ->
Update: (blob, done) ->
```
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