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

fauna

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fauna - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

2

package.json
{
"name": "fauna",
"version": "0.1.0",
"version": "0.2.0",
"description": "Generate and render animated L-Systems",

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

# fauna
Javascript library for generating L-Systems
### Publish a new version
# Make changes and increment package.json semver
git add -A && git commit -m "Commit Message"
git tag <semver>
git push
git push --tags
npm publish
npm info # to verify it worked
TODO: Test `git tag -a <semver> -m "my version 1.4"` to test if it creates the release message in Github
var expect = require('chai').expect;
var fauna = require('./index.js');
describe('iterate test', function() {
expect(0).to.be.equal(0);
it('simple iteration', function() {
const expandedString = fauna.iterate('a', {'a': 'bab'}, 2);
expect(expandedString).to.be.equal('bbabb');
});
});
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