Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

factory-girl

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

factory-girl - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

4

package.json
{
"name": "factory-girl",
"description": "A factory library for javascript / node.js inspired by factory_girl",
"description": "A factory library for Node.js and JavaScript inspired by factory_girl",
"main": "./index",
"author": "Simon Wade",
"version": "0.1.5",
"version": "0.1.6",
"keywords": ["factory", "test", "bdd", "tdd", "fixture"],

@@ -8,0 +8,0 @@ "repository" : {

@@ -52,9 +52,7 @@ # factory-girl

});
console.log(factory.build('post')); => {user_id: 123, subject: 'Hello World', slug: 'hello-world'}
```
console.log(factory.build('post')); => {user_id: 123, subject: 'Hello World', slug: 'hello-world'}
## Using Factories
JavaScript:
```javascript

@@ -61,0 +59,0 @@ factory.build('post', function(err, post) {

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